Skip to content

Commit 8762aa8

Browse files
authored
Site-run: prefer podman* over docker* binaries (apache#710)
1 parent 64dae0e commit 8762aa8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/bin/_hugo-docker-include.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
# under the License.
1818
#
1919

20-
DOCKER="$(which docker > /dev/null && echo docker || echo podman)"
21-
COMPOSE="$(which docker-compose > /dev/null && echo docker-compose || echo podman-compose)"
20+
DOCKER="$(which podman > /dev/null && echo podman || echo docker)"
21+
COMPOSE="$(which podman-compose > /dev/null && echo podman-compose || echo docker-compose)"
2222

2323
# absolute path to the Polaris workspace, for the volume mount
2424
WORKSPACE="$(pwd)"

0 commit comments

Comments
 (0)