User Tools

Site Tools


wiki:ostatni:docker:start

This is an old revision of the document!


DOCKER

docker images

docker ps

Zastavení a smazání všech kontejnerů:

  • docker stop $(docker ps -a -q)
  • docker rm $(docker ps -a -q)

Smazání všech images:

  • docker rmi $(docker images -q)

docker build -t docker-whale .

FROM docker/whalesay:latest
RUN apt-get -y update && apt-get install -y fortunes
CMD /usr/games/fortune -a | cowsay
wiki/ostatni/docker/start.1482787935.txt.gz · Last modified: 2016/12/26 22:32 by root