Skip to content

Commit 3cd819c

Browse files
authored
Fix the podman command alias (#68)
it would be better to set the command alias as a global one instead of a particular user
1 parent d4fcde2 commit 3cd819c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/podman/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ RUN ./hack/install_utils.sh && rm -rf ./*
5959
# Install podman
6060
RUN curl -L -o /etc/yum.repos.d/devel:kubic:libcontainers:stable.repo https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_7/devel:kubic:libcontainers:stable.repo && \
6161
yum -y install podman fuse-overlayfs && \
62-
echo "alias docker=podman" >> /root/.bashrc && \
62+
ln -s /usr/bin/podman /usr/bin/docker && \
6363
yum -y clean all --enablerepo='*'
6464

6565
COPY storage.conf /etc/containers/storage.conf

0 commit comments

Comments
 (0)