"Docker save"의 두 판 사이의 차이

17번째 줄: 17번째 줄:
# ll -h redis.tar
# ll -h redis.tar
-rw-r--r-- 1 root root 106M Apr 10 07:38 redis.tar
-rw-r--r-- 1 root root 106M Apr 10 07:38 redis.tar
</source>
==#==
<source lang='console'>
# docker save --output ubuntu.tar ubuntu
# ll -h ubuntu.tar
-rw------- 1 root root 112M Apr 10 07:42 ubuntu.tar
</source>
</source>



2019년 4월 10일 (수) 16:49 판

1 개요

docker save

2 #

# docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
redis               latest              4760dc956b2d        13 months ago       107MB
ubuntu              latest              f975c5035748        13 months ago       112MB
alpine              latest              3fd9065eaf02        15 months ago       4.14MB
# docker save redis > redis.tar
# ll -h redis.tar
-rw-r--r-- 1 root root 106M Apr 10 07:38 redis.tar

3 #

# docker save --output ubuntu.tar ubuntu
# ll -h ubuntu.tar
-rw------- 1 root root 112M Apr 10 07:42 ubuntu.tar

4 같이 보기

5 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}