-
Running privileged containers as system services in Swarm mode
Update 11 Jun 2019: A patch by Olli Janatuinen that implements this feature has been merged and should be shipped in Docker 19.06 / 19.09. Thanks Olli! This title might be misleading so let me clarify: when a node is in Swarm mode, services and stacks don't support privileged…
-
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…