using guide http://docs.graylog.org/en/1.1/pages/installation/docker.html set docker container on ubuntu 14.04 server.
starting container first time using command wors expected.
docker run -t -p 9000:9000 -p 12201:12201 graylog2/allinone i able open web interface exposed on port 9000.
when stop container , try run again same command error:
error response daemon: cannot start container c5cc5831fe854801345ffa2370fdb4f00f4182e209fe1af78233c93be3952bb1: iptables failed: iptables --wait -t nat -a docker -p tcp -d 0/0 --dport 12201 -j dnat --to-destination 172.17.0.9:12201 ! -i docker0: iptables: no chain/target/match name. (exit status 1) starting container out -p parameter leads running container. ports seem not exposed. i'm not able access web interface. output of "docker ps" looks this:
84d322d35d58 graylog2/allinone "/opt/graylog/embedd 9 minutes ago 9 minutes 443/tcp, 514/tcp, 4001/tcp, 9000/tcp, 514/udp, 12201/tcp, 12900/tcp, 12201/udp focused_elion for me looks ports exposed. host machine not forwarding requests docker container.
after removing container , reinstalling docker , installing container again working again on first start. fails on second time.
any tips or pointers welcome!
hope following paragraph docs.docker.com can you.worked me ...
oops! after stopped container call developer needs container back. here have 2 choices: can create new container or restart old one. let’s @ starting our previous container up.
$ docker start nostalgic_morse nostalgic_morsenow run
docker ps -lagain see running container or browse container’s url see if application responds.note: available docker restart command runs stop , start on container.
Comments
Post a Comment