backup docker

most practical way to save stuff

export process

1
2
docker commit
docker export 265e1f9c08a0 > /tmp/poll.tar

import method

1
2
scp poll.tar
docker import /tmp/poll.tar

REM: check if data timestamp to keep the latest version.


本博客所有文章除特别声明外,均采用 CC BY-SA 4.0 协议 ,转载请注明出处!