docker start container attached code example
Example 1: docker start container
$ docker start my_container
Example 2: docker attach
docker attach [OPTIONS] CONTAINER
$ docker start my_container
docker attach [OPTIONS] CONTAINER