Commands
-
Run a container
1
$ docker run -ti <image repository> --name <name of new container>
-
Attach to running container
1
$ docker attach --name <name of container>
-
Run command inside a running container
1
$ docker container exec -ti <name of container> <command>