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

Support CONTAINER_ENGINE=(podman|nerdctl) in addition to docker #305

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

AkihiroSuda
Copy link
Member

@AkihiroSuda AkihiroSuda commented Sep 15, 2023

  • Dockerfile: Use long image names with the docker.io/ prefix for compatibility with Red Hat's containers
  • Dockerfile: Avoid using BuildKit features that are unsupported by buildah
  • docker-compose.yaml: Set the restart mode to always, as required by podman-restart.service
  • docker-compose.yaml: Remove tty: true, as it is unsupported by nerdctl compose up -d.
  • Makefile: Remove $(COMPOSE) cp, as it is unsupported by podman-compose

nerdctl support depends on:

- Dockerfile: Use long image names with the `docker.io/` prefix for
  compatibility with Red Hat's containers
- Dockerfile: Avoid using BuildKit features that are unsupported by buildah
- docker-compose.yaml: Set the restart mode to `always`, as required by `podman-restart.service`
- docker-compose.yaml: Remove `tty: true`, as it is unsupported by `nerdctl compose up -d`.
- Makefile: Remove `$(COMPOSE) cp`, as it is unsupported by podman-compose

nerdctl support depends on:
- containerd/nerdctl PR 2507 (milestone: nerdctl v1.6.0)

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
@AkihiroSuda AkihiroSuda merged commit 72e178d into rootless-containers:master Sep 19, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant