I've been trying to get two containers of a single image started up, however when I am unable to attach to the second container.
Here's what I've got so far.
[]#docker image ls
gives me the one image I have, docker.io/centos
[]#docker container ls -a
Shows my first container, with the proper image name, status exited, command of "/bin/bash"
I can start this container fine with []#docker container start -ai container0
This opens it on my console and everything is peachy.
The problem starts when I create another container with the same image.
[]#docker container create docker.io/centos
bc342cb83cc1284e594c3f5ee[etc...]
[]#docker container start -ai bc342cb83
[]#
It just goes back to the normal console. Starting container0 still works normally.
[]#docker container start -ai container0
;@container0:/[root@container0 /]#