How do I log into a docker container?



  • Get the docker container id from docker ps, then

    $ sudo docker exec -it 653be379dea1 bash
    

    You can run top, see processes running, and other commands like any other server


Log in to reply
 

© Lightnetics 2024