5 ms·
It is actually finished, just poorly documented. $ docker pull base $ CONTAINER=$(docker run -d base apt-get install -y curl) $ docker commit -m "I
by shykes 14y ago
It is actually finished, just poorly documented.
$ docker pull base
$ CONTAINER=$(docker run -d base apt-get install -y curl)
$ docker commit -m "Installed curl" $CONTAINER yebyen/betterbase
$ docker push yebyen/betterbase
It's buggy but it should work. Let me know if you actually do that, I will try to pull it :)
- yebyen 14y agoOK, cool :) I'll try to do something better than just installing curl! You're right, the docs are indeed poor.
- shykes 14y agoAlso, make sure to try 'docker history'. It preserves the graph of which command created which image.... For example, this is the image I use to automatically update docker's binary downloads: $ docker pull shykes/dockerbuilder # Be patient, it's a big one $ docker history shykes/dockerbuilder $ docker run -i -t shykes/dockerbuilder /usr/local/bin/dockerbuilder $REVISION $S3_ID $S3_KEY
- yebyen 14y agoDoes shykes/dockerbuilder in this command map transparently to your github 'dockerbuilder'? Do the images come from github too, or the docker community server? I did not get all of this from your first reply, I guess I should have been wondering, where the images are hosted, what's stopping other people from publishing images as yebyen, etc...
- KenCochrane 14y agono, it maps to the docker registry which is different then github. The docker registry is a community server where anyone can add their own images, they just need to login first (docker login), and then push/pull their images they want to share. nothing is stopping you, so go ahead and try it today.
- yebyen 14y agoI did actually try this just now, and I got <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <title>500 Internal Server Error</title> <h1>Internal Server Error</h1> <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p> It is possible I guess that the server is overloaded. I'd like to think that if someone registered my name, I'd get a better error. It does say I created an account, and it doesn't prompt me for credentials on the second try. The account creation does not echo Username or Email, which is unusual for an account creation, and I think that Password should echo at least the \n even if the password is entered blind as customary.
- kalessin 14y agoThanks for pointing that out, the 500 error should be fixed!