You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(ansible_test) ~/ansible-flask-example ❯❯❯ sudo service docker status master
[sudo] password for lowks:
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: active (running) since Isn 2016-05-16 15:44:25 MYT; 20min ago
Docs: https://docs.docker.com
Main PID: 11030 (docker)
Tasks: 10
Memory: 11.6M
CPU: 766ms
CGroup: /system.slice/docker.service
└─11030 /usr/bin/docker daemon -H fd://
Mei 16 15:44:24 lowkster-laptop docker[11030]: time="2016-05-16T15:44:24.730479407+08:00" level=info msg="Firewalld running: false"
Mei 16 15:44:25 lowkster-laptop docker[11030]: time="2016-05-16T15:44:25.090426421+08:00" level=info msg="Default bridge (docker0) is assigned
Mei 16 15:44:25 lowkster-laptop docker[11030]: time="2016-05-16T15:44:25.872717944+08:00" level=warning msg="Your kernel does not support swap
Mei 16 15:44:25 lowkster-laptop docker[11030]: time="2016-05-16T15:44:25.926070283+08:00" level=info msg="Loading containers: start."
Mei 16 15:44:25 lowkster-laptop docker[11030]: time="2016-05-16T15:44:25.926117606+08:00" level=info msg="Loading containers: done."
Mei 16 15:44:25 lowkster-laptop docker[11030]: time="2016-05-16T15:44:25.926127029+08:00" level=info msg="Daemon has completed initialization"
Mei 16 15:44:25 lowkster-laptop docker[11030]: time="2016-05-16T15:44:25.926137294+08:00" level=info msg="Docker daemon" commit=20f81dd execdr
Mei 16 15:44:25 lowkster-laptop systemd[1]: Started Docker Application Container Engine.
Mei 16 15:44:25 lowkster-laptop docker[11030]: time="2016-05-16T15:44:25.930581015+08:00" level=info msg="API listen on /var/run/docker.sock"
Mei 16 15:45:16 lowkster-laptop systemd[1]: Started Docker Application Container Engine.
But when I run the command ansible-test app it spits out this:
(ansible_test) ~/ansible-flask-example ❯❯❯ ansible-test app master
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
Traceback (most recent call last):
File "/home/lowks/virtualenvs/ansible_test/bin/ansible-test", line 69, in <module>
main(context)
File "/home/lowks/virtualenvs/ansible_test/bin/ansible-test", line 45, in main
'-t', DOCKER_CONTAINER, '.']
File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['docker', 'build', '-t', 'testbox', '.']' returned non-zero exit status 1
The text was updated successfully, but these errors were encountered:
The local daemon is running:
But when I run the command
ansible-test app
it spits out this:The text was updated successfully, but these errors were encountered: