#!/bin/bash

cp -a /lib/systemd/system/docker.service /tmp/
cp -a /lib/systemd/system/docker.socket /tmp/
cp -a /lib/systemd/system/containerd.service /tmp/
cp -a /etc/containerd/config.toml /tmp/

tar zcf /tmp/systemd-docker-19.03.tar.gz -C /tmp/ docker.service docker.socket containerd.service config.toml
