save2 docker image 저장 / 이동 / 로드 1. docker image 저장 $ docker save 이미지이름 > archive.tar 2. tar 파일로 추출된 것 원하는 곳에 복사 3. docker image 로드 $ docker load -i archive.tar # -i: tar 파일로 load 4. 해당 image로 container 실행하기위해 docker-compose.yml 추가 # docker-compose.yml version: '3' services: container_name: # 컨테이너 이름 image: test_image # 위에서 로드한 이미지이름 stdin_open: true # == docker run -i tty: true # == docker run -t volumes: - .:/app # local의 .현재.. 2023. 4. 6. git stash - 작업 임시 저장 git stash 작업 중에 다른 브랜치로 체크아웃하거나 마스터를 리베이스할 경우에 사용하면 좋다 # without message > > > git stash > > > git stash save # git stash save > > > git stash save update tag > > > git stash list > > > stash@{0}: On branch\_name: update tag > > > stash@{1}: WIP on branch\_name: 49bf139 replace parenthesis # 0: git stash save update tag 결과 # 1: git stash # commit 한거, commit 안한거 모두 commit 안한거로 unstash > > > git s.. 2020. 6. 16. 이전 1 다음