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
[root@localhost ~]# docker run -it --rm hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
d1725b59e92d: Pull complete
Digest: sha256:b3a26e22bf55e4a5232b391281fc1673f18462b75cdc76aa103e6d3a2bce5e77
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
(amd64)
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.
To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker ID:
https://hub.docker.com/
For more examples and ideas, visit:
https://docs.docker.com/get-started/
Actual behavior
[root@localhost ~]# docker run -it --rm hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
d1725b59e92d: Pull complete
Digest: sha256:b3a26e22bf55e4a5232b391281fc1673f18462b75cdc76aa103e6d3a2bce5e77
Status: Downloaded newer image for hello-world:latest
docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"/hello\": stat /hello: no such file or directory": unknown.
Steps to reproduce the behavior
- name: Good case
hosts: test-host
vars:
docker_enable_mount_flag_fix: no
roles:
- haxorof.docker-ce
post_tasks:
- name: Test hello container
become: yes
shell: docker run --rm hello-world
- name: Bad case
hosts: test-host
roles:
- haxorof.docker-ce
post_tasks:
- name: Test hello container
become: yes
shell: docker run --rm hello-world
Output of cat /etc/docker/daemon.json:
{
"debug": true
}
Output of docker version:
Client:
Version: 18.09.0
API version: 1.39
Go version: go1.10.4
Git commit: 4d60db4
Built: Wed Nov 7 00:48:22 2018
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 18.09.0
API version: 1.39 (minimum version 1.12)
Go version: go1.10.4
Git commit: 4d60db4
Built: Wed Nov 7 00:19:08 2018
OS/Arch: linux/amd64
Experimental: false
Expected behavior
Actual behavior
Steps to reproduce the behavior
Output of
cat /etc/docker/daemon.json
:Output of
docker version
:Output of
docker info
:Output of
journalctl -u docker -n 50 -l --no-pager
:Additional environment details (AWS, VirtualBox, physical, etc.)
Tested this using VirtualBox 6.0 and using Vagrant box centos/7 (https://app.vagrantup.com/centos/boxes/7)
Output of
cat /etc/redhat-release
:Output of
uname -a
:The text was updated successfully, but these errors were encountered: