summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-01-27 09:52:11 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2020-01-27 09:52:25 -0500
commit4ab6a10d0c21e64d109e00008f07e4b4aa041445 (patch)
tree0ee34a3282fbbf904b0eb5cfdfbc2c9b4d71b099
parent7794fafdadd1c416164d5bca0964ae13b1bb3cc2 (diff)
downloadpodman-4ab6a10d0c21e64d109e00008f07e4b4aa041445.tar.gz
podman-4ab6a10d0c21e64d109e00008f07e4b4aa041445.tar.bz2
podman-4ab6a10d0c21e64d109e00008f07e4b4aa041445.zip
Add link from docker.sock to podman.sock
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
-rw-r--r--Makefile2
-rw-r--r--contrib/systemd/system/podman-docker.conf1
2 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a7e779dd2..da58d2e8a 100644
--- a/Makefile
+++ b/Makefile
@@ -452,6 +452,8 @@ install.docker: docker-docs
install ${SELINUXOPT} -d -m 755 $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1
install ${SELINUXOPT} -m 755 docker $(DESTDIR)$(BINDIR)/docker
install ${SELINUXOPT} -m 644 docs/build/man/docker*.1 -t $(DESTDIR)$(MANDIR)/man1
+ install ${SELINUXOPT} -m 755 -d ${DESTDIR}${SYSTEMDDIR} ${DESTDIR}${USERSYSTEMDDIR} ${DESTDIR}${TMPFILESDIR}
+ install ${SELINUXOPT} -m 644 contrib/systemd/system/podman-docker.conf -t ${DESTDIR}${TMPFILESDIR}
install.systemd:
install ${SELINUXOPT} -m 755 -d ${DESTDIR}${SYSTEMDDIR} ${DESTDIR}${USERSYSTEMDDIR} ${DESTDIR}${TMPFILESDIR}
diff --git a/contrib/systemd/system/podman-docker.conf b/contrib/systemd/system/podman-docker.conf
new file mode 100644
index 000000000..e12f19bce
--- /dev/null
+++ b/contrib/systemd/system/podman-docker.conf
@@ -0,0 +1 @@
+L+ /run/docker.sock - - - - /run/podman/podman.sock