How To Use Dockerfile
How To Use Dockerfile
Intro
從哪一個container image
FROM alpine
指定進入點
ENTRYPOINT [“/bin/date”]
預設參數
CMD [“+%H:%M”]
使用private registry
FROM 192.168.3.4:6666/alpine
docker build -t alpine-time
docker run alpine-time
docker run alpine-time +%H:%M:%S (傳參數改變原本預設參數)