株式会社ヴァンデミックシステム

Blog

<スポンサーリンク>

docker: Error response from daemon: driver failed programming external connectivity on endpoint gitlab (3652b638a018ee064b106d13663370ee250bc7f7479c42a22de8be810ba7155f): Error starting userland proxy: listen tcp 0.0.0.0:22: bind: address already in use.

ポートが使用されているのでパッティングしているから。
この場合、22がすでに使われているので、マッピングされる側(ホスト側)のポートを変える「-publish 2222:22 」こういうふうに

sudo docker run --detach   --hostname gitlab.example.com   --publish 443:443 --publish 80:80 --publish 2222:22   --name gitlab   --restart always   --volume $GITLAB_HOME/gitlab/config:/etc/gitlab   --volume $GITLAB_HOME/gitlab/logs:/var/log/gitlab   --volume $GITLAB_HOME/gitlab/data:/var/opt/gitlab

<スポンサーリンク>

コメントを残す

Allowed tags:  you may use these HTML tags and attributes: <a href="">, <strong>, <em>, <h1>, <h2>, <h3>
Please note:  all comments go through moderation.

*

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)