Avatart Mikael Olsson

Mikael Olsson

Peerobyte is a team of extremely enthusiastic specialists with a foothold in the European market via a Tier III Data Center in Frankfurt, Germany.

Peerobyte‘s roots are in server equipment because many of our engineers started their career in hardware infrastructure and its virtualization. That is why our team has expertise in building and developing cloud infrastructure to provide stable and flexible systems for every challenges of our clients.

answers & questions of Mikael Olsson

Learn more

'Permission denied' error when mounting a volume in Podman on RHEL 8.1

In Podman, I'm running a container as root, but I can't access the mounted volume. The command ls -lh returns a "Permission denied" error, as does the command cat test.c when attempting to access the file /host/foobar/test.c. Here’s my Dockerfile: I build the image and run the container with the following commands: How can I resolve this issue?
Gravatar — онлайн-сервис, позволяющий пользователям Интернета поддерживать постоянную картинку на большинстве сайтов.

Replied 1 year ago

1 reply

4 votes

'Permission denied' error when mounting a volume in Podman on RHEL 8.1

In Podman, I'm running a container as root, but I can't access the mounted volume. The command ls -lh returns a "Permission denied" error, as does the command cat test.c when attempting to access the file /host/foobar/test.c. Here’s my Dockerfile: I build the image and run the container with the following commands: How can I resolve this issue?
Gravatar — онлайн-сервис, позволяющий пользователям Интернета поддерживать постоянную картинку на большинстве сайтов.

Replied 1 year ago

1 reply

4 votes

Subscribe to our newsletter to get articles and news