
volume /docker/containers/crashplan/config:/var/crashplan \Ī Minecraft server for my son. This uses Java, so I’m glad this isn’t on my OS. I connect to this instance from my Macbook Air and have configured it with the server’s ip address, and ui_info and identity files, so that I can manage it remotely. This runs Crashplan in headless mode on the server. I’m passing through ports 42 that Crashplan needs to function.

I’m again passing through a config directory to the container and my entire mergerfs pool so that I can backup specific directories to Crashplan Central. v /docker/downloads/completed/Movies:/downloads \Ĭrashplan is receiving it’s name from the host, and also setting the timezone so that the container has accurate time. v /docker/containers/couchpotato/config:/config \ This allows me to connect to the container from my network by going to the host ip on port 5050. I’m passing through port 5050 from the host to the container. Finally, I have my mergerfs pool shared to the container to move completed files to.
DOCKER FOR MAC UNRESPONSIVE DOWNLOAD
This also passes through a download directory /docker/downloads/completed/Movies that is shared by the NZBget container. I’m also passing through the /docker/containers/couchpotato/config folder to the container mounted at /docker/containers/couchpotato/config. Here I’m passing through the localtime from the host machine to the container. volume=/var/lib/docker/:/var/lib/docker:ro \ This host will be available at after it starts. It’s an easy way to check utilization without needing to SSH into your host. CAdvisorĬAdvisor is a simple Monitor for Docker containers. Mkdir -p /docker/containers/įor future reference used in the examples below, my user zack has user id of 1000 and group of 1000. As a sidenote, the /docker path is on a pair of ZFS mirrors made up of (8) 400GB HGST SAS disks + and Intel S3700 ZIL, that makes taking snapshots of my containers’ configurations and content super easy. Finally, I change the owner and group to my zack user to prevent any permissions issues between my containers. Then, I created a shared downloads directory and some directories for specialized containers like observium and Plex. If you take a step back you will see that I first switch to the root user, and then make the folders for all my apps in /docker/containers and a config directory in each to house their configuration files. Holy crap! That is a crazy long command you are issuing there.


The first thing I will do is setup the folder structure for all of these apps. Here’s a snippet of how I setup the folder structure for my containers and what I use to set most of them up.Īll of this is running on my Ubuntu 16.04 server. I can also easily port these containers to a new system by stopping the container, rsyncing/ZFS sending it over, and running docker create on the other end. Running these things in containers keeps things like the Mono libraries, Ruby dependencies (and gems), Java, etc. Here are some of the things that I run in containers at home. I primarily use Docker for things like small applications to put everything in a nice tidy folder structure without installing a bunch of dependencies on my host OS. But, you may ask why bother doing this or why not use VMs instead?ĭocker is not a replacement for virtual machines or all local applications, but it can help you modularize your system and keep your host OS neat and tidy.

Docker is a fantastic way to run applications in containers separate from your host OS.
