[ The imperialist Japanese military must officially acknowledge and apologize for the coercion of young women into sexual slaves. / 幼い女性を性の奴隷にした帝國主義日本軍の?制性を公式に認め、謝罪しなければならない. ]

사용자

ID:
PW:

INDEX
01.게시판
게시판 [72]
02.File Book
File 자료실 [96]
Site Link [14]
개인폴더 [200]
03.Field Book
Altibase [19]
Tibero [30]
MS-SQL [28]
MySQL [47]
DB2 [79]
ORACLE [3099]
PSQL [135]
CUBRID [5]
기타정보 [170]
운영체제 [613]
04.Q/A Book
Q/A [53]
05.방명록
방명록 [54]
레벨업 [37]
구인/구직 [2]

기념일
Search
LINK
+ 가족 Hompy
+ DNSEver
IOTN :: Field Book :: 운영체제

 회원가입

docker save / load
최길호 [LIST]   2020-07-18 19:25:21, 조회 : 423


추가
linux to windows 가능 하다.
[root@node1 docker]# dk export -o ol719.tar ol719
D:\docker>dk import ol719.tar
sha256:d3a705944a8cccea62199b13bea7415ce6d781df68fb471e4f712699f821e7f7
D:\docker>dk images
REPOSITORY              TAG                   IMAGE ID            CREATED              SIZE
none                    none                 d3a705944a8c        About a minute ago   523MB
D:\docker>dk run --name ol719 --hostname ol7 -p 1521:1521 -p 1522:22 -dit d3a705944a8c init
8c0d89d2657a788617049e0bde9a2c4ecf9d28fa587b154867c3098b27d26f5f
D:\docker>dk exec -it ol719 bash
[root@ol7 /]#


추가
https://docs.docker.com/docker-for-windows/install-windows-home/
docker save -o images.tar image1 [image2 ...]
docker export -o myContainner1.tar container1
Uninstall the current version of Docker Desktop and install a different version (Stable or Edge), or reset your VM disk.
docker load -i images.tar
docker import -i myContainer1.tar

## container,image save
docker save ol7 -o /docker/ol7.ora18.tar
## 테스틑 위해 삭제
docker   rm ol7
docker  rmi ol7:0
docker  rmi oraclelinux:7
## load image
docker load -i /docker/ol7.ora18.tar
======== std out ==========
2f915858a916: Loading layer [==================================================>]  244.5MB/244.5MB
9efd3398004e: Loading layer [==================================================>]  902.7MB/902.7MB
Loaded image: ol7:0
## run
docker run -d -it --name ol7 --hostname ol7 --cpus=2 --memory=10g --memory-swap=20g --shm-size=8g \
-v /docker/ol7:/oradata -p 1521:1521 ol7:0 bash
## exec
docker exec -it ol7 bash


메모
[root@node1 ~]# docker images
REPOSITORY                            TAG                 IMAGE ID            CREATED             SIZE
ol7                                   0                   040dcdac4a89        9 hours ago         1.13GB
oraclelinux                           7                   d788eca028a0        5 weeks ago         235MB
[root@node1 ~]#
[root@node1 ~]# docker rmi ol7:0
Untagged: ol7:0
Deleted: sha256:040dcdac4a8976e266f35a7aae6392cc0e1693ef6e2bb64e9433b3a42f35cf54
Deleted: sha256:cfea9206d048be5765c0ffffd10eb16d2881f7f1631c8bef1d616e5ce121fe20
[root@node1 ~]#
[root@node1 ~]# docker rmi oraclelinux:7
Untagged: oraclelinux:7
Untagged: oraclelinux@sha256:8d64add00f3b006bf2aae76e26100a334de153b43421671b52389c89e2bf0ba4
Deleted: sha256:d788eca028a0f49b6bc70b251c8535b16ee5bd94e0ab375ca8f3a923e6ce4281
Deleted: sha256:2f915858a91657b11434fbb914490df4047e6f3a23e695f1357df0a1ff9019df <<== 백업된 이미지
[root@node1 ~]#
[root@node1 ~]# ls -alh /docker/ol7.ora18.tar
-rw-------.  1 root   root  1.1G Jul 18 11:22 ol7.ora18.tar
[root@node1 ~]# docker save ol7 -o /docker/ol7.ora18.tar
[root@node1 ~]#
[root@node1 ~]# tar tvf /docker/ol7.ora18.tar
-rw-r--r-- 0/0            1842 2020-07-18 09:33 040dcdac4a8976e266f35a7aae6392cc0e1693ef6e2bb64e9433b3a42f35cf54.json
drwxr-xr-x 0/0               0 2020-07-18 09:33 5d0ca51003e9d77933c9c40574fcfbf4cf639a169391c9c431163de098477c36/
-rw-r--r-- 0/0               3 2020-07-18 09:33 5d0ca51003e9d77933c9c40574fcfbf4cf639a169391c9c431163de098477c36/VERSION
-rw-r--r-- 0/0            1051 2020-07-18 09:33 5d0ca51003e9d77933c9c40574fcfbf4cf639a169391c9c431163de098477c36/json
-rw-r--r-- 0/0       902698496 2020-07-18 09:33 5d0ca51003e9d77933c9c40574fcfbf4cf639a169391c9c431163de098477c36/layer.tar
drwxr-xr-x 0/0               0 2020-07-18 09:33 ffa846b927d45ad0a16c57d0322a0de5cafceb07b93e515e7245e02d22a6f1ae/
-rw-r--r-- 0/0               3 2020-07-18 09:33 ffa846b927d45ad0a16c57d0322a0de5cafceb07b93e515e7245e02d22a6f1ae/VERSION
-rw-r--r-- 0/0             406 2020-07-18 09:33 ffa846b927d45ad0a16c57d0322a0de5cafceb07b93e515e7245e02d22a6f1ae/json
-rw-r--r-- 0/0       244496384 2020-07-18 09:33 ffa846b927d45ad0a16c57d0322a0de5cafceb07b93e515e7245e02d22a6f1ae/layer.tar
-rw-r--r-- 0/0             271 1970-01-01 09:00 manifest.json
-rw-r--r-- 0/0              81 1970-01-01 09:00 repositories
[root@node1 ~]#
3.238.121.7


  LIST

제목 작성자 작성일 조회
UNIX  find arch -newer scp    최길호 2020/09/07 400
Windows  cmd copy 파일 하나로 만들기 [ 80개 html 파일들 찾아서 합쳐서 단일 html 파일로 생성 ]    최길호 2020/08/27 342
Windows  windows 10 usb    최길호 2020/08/22 314
Linux  centos5 / yum install / Loading mirror speeds from cached hostfile YumRepo Error: All mirror URLs are not using ftp, http[s] or file.    최길호 2020/08/18 565
Docker  Docker for windows 시작~ [ Tutorial docker push ]    최길호 2020/07/27 11188
Linux  SecureCRT, putty terminal,session title 변경 [ echo -ne "\033]0;${USER}@${HOSTNAME}\007" ]    최길호 2020/07/18 479
Docker  docker save / load    최길호 2020/07/18 423
Docker  su: cannot open session: Permission denied    최길호 2020/07/18 678
Docker  docker filesystem 이동    최길호 2020/07/16 332
Docker  docker centos6 , centos7 / oracle 10 / all_no_orcl of makefile ins_rdbms.mk / snmccolm.o: could not read symbols: File in wrong format    최길호 2020/07/16 456
Docker  docker search / rename / commit (container to image) / oracle linux 7 OL7 / oracle linux 8 OL8 / Oracle Database 19C Install    최길호 2020/07/16 764
Docker  docker login / oracle 12.2    최길호 2020/07/15 414
Docker  docker ERROR 2059 (HY000): Authentication plugin 'caching_sha2_password' cannot be loaded    최길호 2020/07/06 466
Docker  Docker 시작    최길호 2020/07/06 443
Linux  Linux 서버 붙은 Client IP list 확인    최길호 2020/06/30 310
Linux  yum , rpm -qa hang [ yum rpm --rebuilddb rpm 재구성 ]    최길호 2020/06/22 1168
Linux  linux process memory 사용 확인    최길호 2020/04/09 442

    목록보기   이전페이지   다음페이지 [1][2][3] 4 [5][6][7][8][9][10]..[31]   [다음 10개]
       

Copyright 1999-2024 Zeroboard / skin by 최길호(gilho.kr@gmail.com)
최근 댓글
2016/06/09
201606 추가 grid/runcluvfy.sh...
by 최길호
2016/05/09
lg tab full screen VNCSERVE...
by 최길호
2013/10/17
rsync -avH /data/*

by 최길호
최근 게시물
07/22
[ORACLE]
ogg Rolling over remote file [....
by 최길호
07/15
[ORACLE]
PRKF-1125 : multiple values sp....
by 최길호
07/04
[운영체제]
NIC add cli / nmcli device sho....
by 최길호