Docker

From Teknologisk videncenter
Revision as of 13:55, 22 September 2024 by Heth (talk | contribs)
Jump to: navigation, search


command Explanation
docker ps Status of running containers
docker container ls Status of running containers (As above)
docker run ubuntu Run container ubuntu (Terminates as its bash exits)
docker run -it ubuntu Run container ubuntu -it = interactive tty