lilbai@ecs-205380: docker-compose up -d /home/lilbai/.local/lib/python3.6/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release. from cryptography.hazmat.backends import default_backend Starting nginx ... Starting nginx ... error
ERROR: for nginx Cannot start service nginx: driver failed programming external connectivity on endpoint nginx (439e7ee354ecc5003b1bc1685d0008eee0e0adafc8aab4b86f20f14029ab3036): Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use
ERROR: for nginx Cannot start service nginx: driver failed programming external connectivity on endpoint nginx (439e7ee354ecc5003b1bc1685d0008eee0e0adafc8aab4b86f20f14029ab3036): Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use ERROR: Encountered errors while bringing up the project.
manifest for java:8 not found: manifest unknown: manifest unknown
解决方法
找不到镜像java:8,将java:8改为java:9就可以了
“docker build” requires exactly 1 argument. See ‘docker build --help’.
这是我的执行语句
1
docker build -t docker/mydocker
这个语句其实是有错误的,在最后面需要加上一个点
正确的写法
在后面家还是那个一个小点
1
docker build -t docker/mydocker .
docker新建容器失败
报错内容1:docker: Error response from daemon: driver failed programming external connectivity on endpoint gitlab (xxxx): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 53222 -j DNAT --to-destination 172.17.0.2:80 ! -i docker0: iptables: No chain/target/match by that name. (exit status 1)).
报错内容2:docker: Error response from daemon: Conflict. The container name “/gitlab” is already in use by container “c23e27b22a90a0a050102510436c4c97ce0ce19d8a64807a43113f208d578adc”. You have to remove (or rename) that container to be able to reuse that name. See ‘docker run --help’.