프로그램 사용/docker
centos docker compose iptable error
구차니
2019. 3. 20. 10:27
docker-compose를 통해서 docker를 생성하는데
Creating network "docker_default" with the default driver ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait -t nat -I DOCKER -i br-7d5a8bad2e77 -j RETURN: iptables: No chain/target/match by that name. (exit status 1)) |
요런에러가 발생하는데...
환경은 centos 7. 아래와 같이 설정하니 일단은 넘어가네
# vim /lib/systemd/system/docker.service
[Unit] Description=Docker Application Container Engine Documentation=http://docs.docker.com After=network.target Wants=docker-storage-setup.service Requires=docker-cleanup.timer |
After=network.target docker.socket Requires=network.target docker.socket |
[링크 : https://github.com/sameersbn/docker-gitlab/issues/499]