Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

I will attempt to expand more on each of these as I learn the different phases of dockerization.

A quick-start guide to Docker can be found here: https://docs.docker.com/linux/step_one/

NOTE: CoreOS installations come with Docker pre-installed.

...

You can skip that step if you already have Docker installed and scroll down to where they start running commands.

CoreOS Docker Quirks

Default Docker IP Address

...

To change Docker's default IP address, execute the following command, substituting for the CIDR notation of the new IP. It is imperative that you set this to a non-routable IP according to your source network's configuration. 

sudo echo "[Service]
ExecStart=

...

sudo systemctl start docker

To verify:

ip addr should now list your newly specified ip instead of 172.17.x.x. A reboot may also be required in order for this change to take effect.

Command Completion: Unsupported

...

chmod +x /home/core/docker-compose/docker-compose

Debugging

General

  • docker diff <name or id> - show what files differ from the source image (what changes you have made since running)

Building a Container

  • docker stats <name or id> - shows memory usage / limits
  • docker run <id> - can use the id of incremental build images to boot into the failing state

...