Skip to content

Instantly share code, notes, and snippets.

@shanqiu15
shanqiu15 / keybase.md
Last active May 19, 2022 21:07
Keybase proof

Keybase proof

I hereby claim:

  • I am shanqiu15 on github.
  • I am chenh (https://keybase.io/chenh) on keybase.
  • I have a public key ASBS80Lu5glQTfsf8Fnq03l7whexxXbCiUMc5Rc_BW3v9wo

To claim this, I am signing this object:

@shanqiu15
shanqiu15 / docker-examples.md
Created May 19, 2016 19:49 — forked from thaJeztah/docker-examples.md
Some docker examples

Commit, clone a container

To 'clone' a container, you'll have to make an image of that container first, you can do so by "committing" the container. Docker will (by default) pause all processes running in the container during commit to preserve data-consistency.

For example;

docker commit --message="Snapshot of my container" my_container my_container_snapshot:yymmdd