1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

docker起動時にエラー(docker: Error response from daemon: driver failed programming external connectivity on endpoint)

Posted at

docker起動時にエラー

$ docker run -d --name ${CONTAINER_NAME} -p 6080:80 --shm-size=512m seigott/tetris_docker
docker: Error response from daemon: driver failed programming external connectivity on endpoint tetris_docker_gameserver
(9ab4c7e586ace4cc20ad57afdc56e19bb961f976a8803b3fd575e64c8f6ff254): Bind for 0.0.0.0:6080 failed: port is already allocated.

docker run 時に既存のコンテナとポート番号が重なったためエラー
bind先のポートを更新する事で解決(例えば 6080 --> 8080 にすることで解決)

docker run -d --name ${CONTAINER_NAME} -p 8080:80 --shm-size=512m seigott/tetris_docker

参考

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?