Docker
From Teknologisk videncenter
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) - pull container if not present |
docker run -it ubuntu | Run container ubuntu -it = interactive tty |
docker pull nginx | pull container from repository (default docker hub) |