Docker: Difference between revisions

From DWIKI
mNo edit summary
Line 7: Line 7:


==Get shell in container==
==Get shell in container==
  docker exec -it containername bash
To get image name
  docker ps
then
docker run --it <imagename> bash

Revision as of 10:17, 28 September 2018

Links

FAQ

List running containers

docker ps

Get shell in container

To get image name

docker ps

then

docker run --it <imagename> bash