Created
June 16, 2016 05:59
-
-
Save humorless/0b5dda6fcffa7b13f81471bd71856609 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#基本概念: | |
在公司develop branch裡的程式碼,會被自動做成 latest image | |
指令: | |
cd DockerCompose-OpenFalcon | |
sudo vim owl.yml // 把對應的image的tag改成 latest | |
docker-compose -f owl.yml pull fe // 假設要更新的docker image是fe | |
docker stop fe // 停止正在運行中的fe | |
docker-compose -f owl.yml up -d fe // 透過docker-compose 重新啟動fe,並且套用latest image |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment