-
Running privileged containers as system services in Swarm mode
This title might be misleading so let me clarify: when a node is in Swarm mode, services and stacks don't support privileged or cap_add options. It might be a problem if you're running Concourse or any kind of VPN, you might need this (like I did). This still works…
-
Backup CoreOS's data volumes
Yaron made a great Docker image for creating backups using Duplicity. It's designed to make backups of host directories, but what I wanted is to backup other container's volumes. You can do this with this CoreOS unit file: [Unit] Description=Backup After=docker.service Requires=docker.service [Service] User=core…
-
Copy data from one data volume to another
Recently I've played around with Docker and CoreOS I made some mistakes in the beginning. When I discovered that my data volume is based on the same image as the container which is supposed to use it (therefore wasting disk space) I wanted to move my data from the old…