Comments (4)
I was trying to debug this and could not reproduce the issue. However, I'm wondering if it has to do with the specific config file that you modified in the first step. Looking at the docs in man containers.conf
:
Container engines read the /usr/share/containers/containers.conf, /etc/containers/containers.conf, and /etc/containers/containers.conf.d/.conf files if they exist.
When running in rootless mode, they also read $HOME/.config/containers/containers.conf and
$HOME/.config/containers/containers.conf.d/.conf files.
It mentions that the file you modified in your first step (~/.config/containers/containers.conf) only applies to rootless mode containers. I'm wondering if the podman compose
is for some reason not running the container as rootless.
If you take that settings provided and put the config changes in one of the global config files, do you still see this issue?
from podman.
Ah! I think I just had to restart the podman socket daemon... Now after a reboot, I don't reproduce anymore
from podman.
Maybe it is unrelated to this ticket, but I still see a difference in the behavior between podman compose and podman run contexts.
With podman run: there is no <c-p><c-q>
shortcut at all
With podman compose run: there is still a <c-p><c-q>
, additionnaly to <c-x>x
The following paste show first a <c-p><c-q>
, then the <c-x>x
[stacy@yellow-orcess ~/tmp]$ podman compose run --rm foo sh
>>>> Executing external compose provider "/usr/bin/docker-compose". Please refer to the documentation for details. <<<<
/ # ERRO[0002] error waiting for container: context canceled
[stacy@yellow-orcess ~/tmp]$ podman compose run --rm foo sh
>>>> Executing external compose provider "/usr/bin/docker-compose". Please refer to the documentation for details. <<<<
/ # Error: detached from container
pwd
^C[stacy@yellow-orcess ~/tmp]$
``
from podman.
The containers.conf files are onlly read at podman start, in one case you have a podman running locally which reads the containers.conf, In the podman compose case you are talking to the podman service which could have been running before the containers.conf was set?
You can eliminate the podman compose part and just do
podman --remote run ...
And see if the detach keys work properly, after service restart.
from podman.
Related Issues (20)
- podman build adds "variant" to all images when building multiarch images on MacOS (Apple Silicon) HOT 6
- unsupported image-specific operation on artifact with type "application/vnd.devcontainers" HOT 1
- Podman port not accessable via ipv6 on windows HOT 1
- pasta is both under development, needing patched podman, and the default
- Podman is not able to create containers with additional image store. HOT 6
- podman healthcheck + sdnotify: Error: container is stopped HOT 3
- Cannot start service: crun: open executable: Operation not permitted: OCI permission denied HOT 2
- Environment variable to temporarily update container registry resolution HOT 1
- Add configurations section for podmansh HOT 3
- Empty `NetworkSettings` when doing `podman inspect` on container using pasta HOT 5
- Podman "no route to host" when pushing to container registry with sudo, but works without sudo HOT 2
- rootless podman using pasta doesn't allow accessing the host-service ports HOT 8
- Entrypoint script not working even though present.
- podman pull writes to read only additional image store HOT 3
- bootc integration tracker HOT 12
- Increased latency when using bridge network with v5 HOT 5
- Rootless podman in rootless podman running server permission denied HOT 1
- Network using podman in podman HOT 6
- 'partial' directory ownership and permissions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from podman.