Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev containers: support podman #9731

Open
donsizemore opened this issue Jul 24, 2023 · 0 comments
Open

dev containers: support podman #9731

donsizemore opened this issue Jul 24, 2023 · 0 comments
Labels
Component: Containers Anything related to cloudy Dataverse, shipped in containers. Feature: None No user-facing feature in particular Type: Feature a feature request User Role: Sysadmin Installs, upgrades, and configures the system, connects via ssh

Comments

@donsizemore
Copy link
Contributor

podman aims for full Docker interoperability, requires no daemon and need not run as root.

In trying out Oliver's Payara6 branch for Phil, I performed:

$ export DOCKER_HOST="unix:/run/user/$(id -u)/podman/podman.sock"
$ podman system service -t 3600 &
$ mvn -Pct -Dpayara.version=6.2023.7 -f modules/container-base install

Then created /usr/bin/docker as:

#!/usr/bin/bash
[ -e /etc/containers/nodocker ] || \
echo "Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg." >&2
if [[ "$1" == --config ]]; then
   shift 2
fi
exec /usr/bin/podman "$@"

However:

[INFO] DOCKER> docker --config /home/dls/IQSS/dataverse/8305-payara6-ee10-v3/modules/container-base/target/buildx-state buildx create --driver docker-container --name maven
[INFO] DOCKER> Error: unknown flag: --driver
[ERROR] DOCKER> Error status (125) while creating builder maven

It doesn't look like podman is going to support --driver so perhaps this foray was misguided. Any suggestions welcome; otherwise we can close this issue as a waste of bytes.

@pdurbin pdurbin added Type: Feature a feature request User Role: Sysadmin Installs, upgrades, and configures the system, connects via ssh Component: Containers Anything related to cloudy Dataverse, shipped in containers. Feature: None No user-facing feature in particular labels Oct 8, 2023
@pdurbin pdurbin moved this to Containerization (Oliver) in IQSS Dataverse Project Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Containers Anything related to cloudy Dataverse, shipped in containers. Feature: None No user-facing feature in particular Type: Feature a feature request User Role: Sysadmin Installs, upgrades, and configures the system, connects via ssh
Projects
Status: No status
Development

No branches or pull requests

2 participants