anchor.diff:  # disable non-docker runtimes by default
   RUN systemctl disable containerd && systemctl disable crio && rm /etc/crictl.yaml
   # enable docker which is default
  -RUN systemctl enable docker
  +RUN systemctl enable docker.service && systemctl enable podman.socket
   # making SSH work for docker container 
   # based on https://github.com/rastasheep/ubuntu-sshd/blob/master/18.04/Dockerfile
   RUN mkdir /var/run/sshd
  
positive.code: RUN sh -c "echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list" && \
      curl -LO https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key && \
      apt-key add - < Release.key && \
      clean-install containers-common catatonit conmon containernetworking-plugins cri-tools podman-plugins varlink
  
  # install cri-o based on https://github.com/cri-o/cri-o/blob/release-1.18/README.md#installing-cri-o
  RUN sh -c "echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/1.18/xUbuntu_20.04/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable:cri-o:1.18.list" && \
  
negative.code:     clean-install cri-o cri-o-runc
  
  # install podman
  RUN sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list" && \
      curl -LO https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key && \
      apt-key add - < Release.key && \
      clean-install podman && \
      addgroup --system podman && \
      mkdir -p /etc/systemd/system/podman.socket.d && \
      printf "[Socket]\nSocketMode=0660\nSocketUser=root\nSocketGroup=podman\n" \
             > /etc/systemd/system/podman.socket.d/override.conf && \
      mkdir -p /etc/tmpfiles.d && \
      echo "d /run/podman 0770 root podman" > /etc/tmpfiles.d/podman.conf && \
      systemd-tmpfiles --create
  
  # automount service
  COPY automount/minikube-automount /usr/sbin/minikube-automount
  