Hi All,
During docker task level3 : Write a Docker Compose File, I am getting below error and unable to resolve.
The test getting failed saying → docker-compose.yaml is not present App server 3.
Please help.
[root@stapp03 docker]# docker compose up -d
WARN[0000] /opt/docker/docker-compose.yaml: the attribute version
is obsolete, it will be ignored, please remove it to avoid potential confusion
[+] Running 0/1
⠼ Container httpd Starting 1.4s
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting “proc” to rootfs at “/proc”: mount src=proc, dst=/proc, dstFd=/proc/thread-self/fd/8, flags=0xe: no such file or directory: unknown
[root@stapp03 docker]# pwd
/opt/docker
[root@stapp03 docker]# ls -lart
total 12
drwxr-xr-x 1 root root 4096 Jun 9 09:24 …
-rw-r–r-- 1 root root 182 Jun 9 09:51 docker-compose.yaml
drwxr-xr-x 2 root root 4096 Jun 9 09:51 .