Originally wanted to make an ATC images, search the Docker hub, found that 2015.5.15 days someone released the image of the tool, this is convenient. Docker Hub Address
Image Boot image
Docker run-it--privileged--net=host--rm ATCD/ATC will automatically check if it exists locally and will start directly if it is not locally downloaded from the cloud.
58demacbook-pro:docker wuxian$ Docker run-it--privileged--net=host--rm ATCD/ATC Unable to find image ' Atcd/atc:latest ' Locally latest:pulling from ATCD/ATC 64e5325c0d9d:pulling FS layer bf84c1d84a8f:pulling FS Layer 87de57de6955:pull ing FS layer 6a974bea7c0d:pulling FS layer 4b708e6c0f6c:pulling FS layer 12fef6820370:pulling FS Layer 69CA4F45DAFD : Pulling FS layer 11ea72ec71a1:pulling FS layer 4b708e6c0f6c:downloading 75.68 mb/160.4 MB a6ea00825040:download com Plete e1f5c799d062:downloading 17.34 mb/19.65 MB 5d75f900f6bb:download complete 65c00af7c3f9:download complete 70AF3 Ebe09c5:download Complete 8a74fd4e7ccd:download Complete b6b63492bda0:download complete 2c21e5589565:download compl Ete 5dda6f7075ff:download Complete 2e2bd66e21a9:download complete c9fddf0230c6:download complete E13d2c31ef2d:down Load complete 717ac29f9d1f:download Complete ba77ab6d489b:download complete 3088a5ade1cc:download complete a3fa3717 0d8a:download Complete
66f4143d2d25:download Complete B09dbd7b7f31:download Complete 1f06e98d5008:download complete 5964190ee946:download Complete B6adef0a30cd:download complete C75be3ba9b59:download complete status:downloaded newer image for Atcd/atc:l Atest/usr/local/lib/python2.7/site-packages/supervisor/options.py:296:userwarning:supervisord is running as root And it is searching-it configuration file in the default locations (including its current working directory);
You probably want to specify a "-C" argument specifying an absolute path to a configuration file for improved security. ' Supervisord is running as root and it's searching ' 2015-07-02 04:44:19,269 crit Supervisor running as root (no user in Config file) 2015-07-02 04:44:19,278 INFO RPC interface ' supervisor ' initialized 2015-07-02 04:44:19,279 crit Server ' Uni X_http_server ' running without any HTTP authentication checking 2015-07-02 04:44:19,279 INFO Supervisord started with PID 6 2015-07-02 04:44:20,284 INFO spawned: ' sTdout ' with PID 9 2015-07-02 04:44:20,286 info spawned: ' Atcui ' with PID ten 2015-07-02 04:44:20,288 INFO spawned: ' Atcd ' W ITH PID one 2015-07-02 04:44:20,290 info spawned: ' Rsyslogd ' with PID 2015-07-02 04:44:21,494 info success:stdout Enter Ed RUNNING state, process have stayed up for > than 1 seconds (startsecs) 2015-07-02 04:44:21,494 INFO success:atcui en tered RUNNING state, process have stayed up for > than 1 seconds (startsecs) 2015-07-02 04:44:21,495 INFO Success:atcd Entered RUNNING state, process have stayed up for > than 1 seconds (startsecs) 2015-07-02 04:44:21,495 INFO success:rsy Slogd entered RUNNING state, process have stayed up for > than 1 seconds (startsecs) rsyslogd stderr | Rsyslogd:could not open output pipe '/dev/xconsole ': No such file or directory [try http://www.rsyslog.com/e/2039] Atcd stderr | INFO:AtcdVService.AtcdNBServerTask:AtcdNBServerTask Server Started on 127.0.0.1:9090 atcd stderr | INFO:AtcdVService.AtcdLinuxShaper:Calling Initialize_shAping_system ATCD stderr | Info:atcdvservice.atcdlinuxshaper:running/sbin/iptables-t mangle-f FORWARD Atcd stderr | INFO:AtcdVService.AtcdLinuxShaper:deleting root Qdisc on eth1 atcd stderr | WARNING:AtcdVService.AtcdLinuxShaper:could not delete root qdisc. There might has been nothing to delete Atcd stderr | INFO:AtcdVService.AtcdLinuxShaper:setting root Qdisc on eth1 atcd stderr | INFO:AtcdVService.AtcdLinuxShaper:deleting root Qdisc on eth0 atcd stderr | WARNING:AtcdVService.AtcdLinuxShaper:could not delete root qdisc. There might has been nothing to delete Atcd stderr | INFO:AtcdVService.AtcdLinuxShaper:setting root Qdisc on eth0 atcd stderr | INFO:AtcdVService.AtcdLinuxShaper:Restoring shaped connection from DB Atcd stderr | DEBUG:AtcdVService:All tasks started Atcd stderr | DEBUG:AtcdVService:VService Active. Awaiting graceful shutdown
The image will be launched when the download is complete and we will be able to access the UI page for this tool. First you need to know what your Docker IP is, and this can be found in your environment variables, such as the contents of my environment variable file as follows:
Export docker_host=tcp://10.59.15.199:2376
Export docker_cert_path=/users/wuxian/.boot2docker/certs/ BOOT2DOCKER-VM
Export Docker_tls_verify=1
Then our Docker IP address is 10.59.15.199, then the UI URL of our access to ATC is http://10.59.15.199:8000