image ํ™” ํ•˜๊ธฐ

  • ์ฝ”๋“œ๊ฐ€ ๋‹ค๋ฅธ ๊ฒƒ์œผ๋กœ ํŒŒ์•…, ์•„๋ž˜ ์ฝ”๋“œ๋Š” ๋™์ž‘ํ•œ๋‹ค.
    $ docker commit -a "jjy" <container name> <์›ํ•˜๋Š” image repo ์ด๋ฆ„>
    $ docker commit -a "jjy" laughing_wilson wansook/mask_rcnn

dockerhub ์— ์˜ฌ๋ฆฌ๊ธฐ

  1. Loginํ•˜๊ธฐ

    $ docker login
  2. repository ๋งŒ๋“ค๊ธฐ ๋ณดํ†ต ํ˜•์‹์€ ๊ณ„์ •์ด๋ฆ„/ํ•ด๋‹น repo์ด๋ฆ„ ์œผ๋กœ ๊ฒฐ์ •๋œ๋‹ค. ๋‚ด๊ฐ€ ๋งŒ๋“  ์ด๋ฏธ์ง€์˜ repository์ด๋ฆ„์„ ์ด์™€ ๊ฐ™๊ฒŒ ๋ฐ”๊ฟ”์ฃผ์–ด์•ผ ํ•œ๋‹ค.

    $ sudo docker image tag <๊ธฐ์กด ๊ณ„์ •์ด๋ฆ„/repo name>:<tag> <์ƒˆ ๊ณ„์ •์ด๋ฆ„/new repo name>:<new tag>
    $ docker image tag wansook/mask_rcnn wansook0316/mask_rcnn:first_commit
  3. docker hub ์— pushํ•˜๊ธฐ

    $ docker push wansook0316/mask_rcnn:first_commit