variant: fcos version: 1.6.0 passwd: users: # Add user to docker group - name: core groups: - docker storage: files: - path: /var/home/core/.bashrc append: - inline: "alias dc='docker compose -f /var/docker/docker-compose.yml'" directories: - path: /var/docker user: name: core group: name: docker systemd: units: # Install Docker CE - name: rpm-ostree-install-docker-ce.service enabled: true contents: | [Unit] Description=Install Docker CE Wants=network-online.target After=network-online.target Before=zincati.service ConditionPathExists=!/var/lib/%N.stamp [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/bin/curl --output-dir "/etc/yum.repos.d" --remote-name https://download.docker.com/linux/fedora/docker-ce.repo ExecStart=/usr/bin/rpm-ostree override remove moby-engine containerd runc docker-cli --install docker-ce ExecStart=/usr/bin/touch /var/lib/%N.stamp ExecStart=/usr/bin/systemctl enable docker.service ExecStart=/usr/bin/systemctl --no-block reboot [Install] WantedBy=multi-user.target