Docker Notes

list processes - docker ps -a

 

Interactive login you see many examples to bash, but I ran into a container that didn't have bash, used "sh"

sudo docker exec -it mycontainer /bin/bash

sudo docker exec -it mycontainer sh

 

tags: dock, docker, container,

Related Scribbles:
  • System Administration
  • Programming
  • Linux Commands


  • ID: 78
    Author:
    Leonard
    Date Updated:
    2019-01-24 13:31:48
    Date Created:
    2001-08-19 21:49:23

    Edit

    Comments?
     >> Leonard Chan's Homepage  >> Scribble Web  >> Docker Notes
    leonard.lotus-land.ca is hosted by Perceptus Solutions Inc.