Created
June 9, 2015 06:54
-
-
Save christopherobin/645e060b24a5a118f77c to your computer and use it in GitHub Desktop.
Docker commit bug
This file contains hidden or 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
# First shell | |
docker run --name foobar --rm -t -i ubuntu bash | |
# Another shell | |
# Change URL to docker API, under linux you can quickly expose it: socat -d -d TCP-LISTEN:8080,fork UNIX:/var/run/docker.sock | |
curl -XPOST 'localhost:8080/commit?container=foobar&comment=foo&repo=test/foobar@foo:bar' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment