Closed sataga closed 4 years ago
Webページ上から検索します。
Docker Hub (https://hub.docker.com/)
docker image pull IMAGE:TAG
docker image ls
docker image rm IMAGE docker image prune
Dockerfile作成
FROM IMAGE:TAG
COPY SOURCE DEST
RUN COMMANDS...
ENTRYPOINT [ COMMAND, ... ]
CMD [ COMMAND, ... ]
docker image build -t NAME:TAG .
docker container run IMAGE:TAG
docker container stop
docker container ls
docker container rm docker container prune
docker ps -aq | xargs docker rm
docker images -aq | xargs docker rmi
これから試すこと
作成したもの
https://github.com/easy-to-study/kubernetes_study/tree/master/Docker/basic/imageCreate
わかったこと
実行ログ