chris.collins.is
  • Chris Collins is...
  • My Resume

SSH

Brewer, Beardsman, Geek, Godzilla Hunter Extraordinaire

“Cloud-style” Docker Demo Container

“Cloud-style” Docker Demo Container

Completed a first pass at a minimal “Cloud-style”#Docker container. It’s sort of like an EC2 instance. You generate an ssh pem file, and pass the public key in as an environmental variable at docker run:

sudo docker run -i -t -d -P \
-e PUBKEY="$(cat ~/.ssh/my.pem.pub)" cloudbase

You end up with a CentOS container, and a user “clouduser” that has sudo w/no password rights.

I think this would be a good way to get some folks interested in Docker - perhaps offering something like this as a playground/sandbox to build interest.

  • Chris Collins
Chris Collins 19 May 2014 • 1 min read
chris.collins.is © 2014
cb67604
Latest Posts Mastodon Twitch Github Twitter Hugo Casper3 by Jonathan Janssens