# Docker Index ## Docker Inroduction https://hackmd.io/D6VQLyb1TrycObZZAjDUCw ## Docker Volume: 可以把container內的檔案同步到宿主機上,並且在container刪除或停止後保留在宿主機上 可用於log保存或db的數據 [Docker Volume 1](https://ithelp.ithome.com.tw/articles/10192397) [Docker Volume 2](https://larrylu.blog/using-volumn-to-persist-data-in-container-a3640cc92ce4) ## Docker Exec 可以對container下指令,或者是進入container內部 但下的指令是container內部已經存在的指令 可以透過 **-it** 選項來開一個互動式的bash,好讓我們可以直接操作container [Docker Exec](http://www.runoob.com/docker/docker-exec-command.html) ###### tags: `Docker`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up