So, in one fell swoop - about a half hour - I was able to create three servers running a Docker image to serve our main website, from scratch. It’s a good thing, too.
So what we have here is that root inside the containers effectively has root access to any of these file systems or devices. If you can somehow communicate with them, then consequently, you can own the host with little effort.
I've heard the name CoreOS around a little bit over the last two months or so, but it hadn't really jumped out at me until last week when Mark McCahill mentioned it in a meeting. He'd read some pretty cool things about it: minimal OS, designed for running Docker containers, easy distributed configuration, default clustering … Continue reading How ’bout CoreOS as your Cloud base?
I've noticed the ways in which I set up new Docker images have shifted the more I work with the technology. For example, when I first started with Docker, I put almost all my configurations into the Dockerfile. This is easy - and the way Docker suggests it on their site - and the biggest … Continue reading Docker "Best Practices" (that don’t exist yet)
Got email support working in my DockerDemos Drupal Docker image. SSMTP is the way to go with these containers. There's no running daemon to have to manage, or to take up resources. The image is setup to either do nothing with mail, use a default SSL setup if you pass your own SMTP server as … Continue reading Email and Docker-based Drupal Containers
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 … Continue reading "Cloud-style" Docker Demo Container
Quick Docker Tip To run the latest version of Docker each time you start it, it's as easy as creating and running this script: #!/bin/bash OPTS="-d" if [[ -f ~/dockerbin/docker ]] ; then rm docker fi if [[ ! -d ~/dockerbin/ ]] ; then mkdir ~/dockerbin fi wget https://get.docker.io/builds/Linux/x86_64/docker-latest \ -O ~/dockerbin/docker chmod +x ~/dockerbin/docker … Continue reading Quick Bash Script to Update Docker