mirror of
https://github.com/apache/openjpa.git
synced 2025-03-06 08:29:08 +00:00
add documentation about how to run with Podman
This is an important information for people who use Podman instead of Docker.
This commit is contained in:
parent
c6f42826b7
commit
745795b1d9
12
README.adoc
12
README.adoc
@ -36,6 +36,18 @@ We assume that Docker is installed to be used by your current user.
|
||||
The respective database image has to be started manually before starting the build.
|
||||
The reason for not starting it as part of the build itself is to be able to look at the database content after the build did run.
|
||||
|
||||
[TIP]
|
||||
====
|
||||
*Hint for running with Podman*
|
||||
|
||||
Some distributions switched from native Docker to Podman.
|
||||
If you get an error like `missing DOCKER_HOST` then you might try running the following command:
|
||||
|
||||
export DOCKER_HOST="unix:/run/user/$(id -u)/podman/podman.sock"
|
||||
podman system service -t 3600 &
|
||||
mvn ...
|
||||
====
|
||||
|
||||
To start e.g. a PostgreSQL Docker image you can simply invoke the following command.
|
||||
Note the -N Maven option which stands for 'non-recursive'.
|
||||
This is used because the docker container is configured only at the root project but not at his children.
|
||||
|
Loading…
x
Reference in New Issue
Block a user