September 11, 201411 yr Found this tool for helping with the setup of docker containers and thought i would share. http://www.fig.sh/ Fig makes it cleaner to configure a docker instance/s compared to the command line. Also thought it would be nice if people shared fig.yml files as a way to help others get started with a container easier. As you can see below a command line vs fig.yml file for comparison. Command line: docker run -d -h hostname --name="sickbeard" -v /mnt/cache/apps/docker/config/sickbeard:/config -v /mnt/user:/data -v /etc/localtime:/etc/localtime:ro -p 8081:8081 -e EDGE=1 needo/sickbeard Fig configuration: sickbeard: image: needo/sickbeard ports: - "8081:8081" volumes: - /mnt/cache/apps/docker/config/sickbeard:/config - /mnt/user:/data - /etc/localtime:/etc/localtime environment: - EDGE=1 Once you have the fig.yml file in a directory you can run fig up to build the container and start it. Once the container is up you can use fig start or fig stop to change the running state. If anyone needs help or has questions please feel free to ask.
September 11, 201411 yr This might have been interesting to know before the unraid community already created their own web interface and XML format doing exactly the same things. Perhaps its something for them to look at to see if it makes any sense to completely switch gears after they have a very friendly and workable solution.
September 11, 201411 yr Author Sorry, I am late to the game on using docker as i was doing 100% xen for my needs, so i was not aware of the amount of work that went into the custom solution. I like the docker plugin and use it to see the state of my machines and to start/stop them. Don't necessarily need to replace the existing tools for Fig, but fig sure does make creating/sharing containers easier. I use my setup for some development work so its nice to let fig create multiple containers with one config. EX: you can setup a DB,web,redis container set for dev work in one go. Destroy it and recreate it easily as needed.
Archived
This topic is now archived and is closed to further replies.