Docker Community Forums

Share and learn in the Docker community.

Run command in stopped container


#22

To restart a container

docker start -ia containerid-or-name

example:
docker run --name mybusybox busybox echo “hello world”
docker start -a mybusybox