Untitled

Dockerfile로 이미지 생성하기

FROM ubuntu:latest
CMD echo "This is a test" | wc -

Untitled

FROM ubuntu:latest
CMD ["/bin/df", "-h"]

Untitled

ENTRYPOINT

FROM ubuntu:latest
#CMD ["/bin/df", "-h"]
ENTRYPOINT ["/bin/df", "-h"] 

Untitled