Questions tagged [mounted-volumes]
162 questions
1
vote
0 answers
Cannot access autospawn lock Debian
I followed a tutorial that helped me setup a Proxmox/Truenas/Docker server. It has you create a share drive on the Truenas VM and then automount it to the Docker VM. I then tried to install a Docker App for Obsidian and had this error:
E:…

BloxBoss6
- 23
- 2
1
vote
0 answers
How to use bind mount in docker with angular application?
I am dockerizing an angular application. But I want to use bind mount for code sharing purpose. I am running following command which makes container up and running and entire application works completely fine. But when I make changes in my local…

Chinmay Chikode
- 21
- 3
1
vote
0 answers
Renew SSL Certificate inside Keycloak Docker Container - still using old certificates
I setup a keycloak container from this manual:
https://hub.docker.com/r/jboss/keycloak
I used the following command:
docker run -d --name keycloak --net keycloak-network -p 8443:8443 -e
KEYCLOAK_USER=******* -e KEYCLOAK_PASSWORD=********
--mount…

Norman Hacker
- 11
- 2
1
vote
2 answers
docker compose map multiple files or directories as volume
I have a few config file that have to be mapped to files inside the container. I want to be able to change these config files on the host and that should reflect in the container. These are basically connection string files that I want to swap…

Jack Smit
- 3,093
- 4
- 30
- 45
1
vote
2 answers
Reflect changes in read-only docker volume to the container?
I have a config file being injected into Docker at runtime using a read-only volume. Thus the container cannot change the contents of the config file, but the host can. The idea is to send a SIGHUB to the process inside the container to reload any…

Meitham
- 9,178
- 5
- 34
- 45
1
vote
0 answers
Mount camera to pod get MountVolume.SetUp failed for volume "default-token-c8hm5" : failed to sync secret cache: timed out waiting for the condition
On my Jetson NX, I like to set a yaml file that can mount 2 cameras to pod,
the yaml:
containers:
- name: my-pod
image: my_image:v1.0.0
imagePullPolicy: Always
volumeMounts:
- mountPath: /dev/video0
name: dev-video0
…

Edward Chang
- 141
- 1
- 2
- 11
1
vote
1 answer
How to concatenate secret files mounted in a volume in kubernetes
I have several secrets that are mounted and need to be read as a properties file. It seems kubernetes can't mount them as a single file so I'm trying to concatenate the files after the pod starts. I tried running a cat command in a postStart handler…

EricWoody
- 11
- 1
1
vote
0 answers
How to check whether a mounted volume is currently in use, using Swift?
I am trying to unmount a mounted volume in case it meets certain conditions and for that I am using the following code.
FileManager.default.unmountVolume(at: URL(fileURLWithPath: convictedFile), options:…

SaudiSheep
- 35
- 6
1
vote
0 answers
How to create named volumes in podman's kube files?
I am running a mariadb pod by playing a kube file in Podman. Instead of using the fixed hostPath, I would like to use the named volume. However, this requires that the named volume has already been created. Is there a way to create a named volume…

Muzammil
- 417
- 1
- 4
- 20
1
vote
1 answer
Volume mounting not working with docker-compose (MacOS)
I am relatively new to Docker and I am attempting to build a single custom image from my Dockerfile using docker-compose.
Dockerfile
FROM continuumio/anaconda3
#create a directory
WORKDIR /home/docker/qts
#copy the dependencies file
COPY…

Yiannis
- 11
- 2
1
vote
1 answer
i can't presist data in kubernetes volumes
i have an application that record live traffic and replay them.
https://github.com/buger/goreplay
it is a simple app to use, but when i tried to use it with kubernetes i get a problem with persisting data in volumes.
i want to do this :
in pod…

feiz
- 539
- 2
- 6
- 14
1
vote
0 answers
How to mount a folder in a machine to a docker container in another machine?
I have a running docker container that uses volume mounting and NFS to store data in another machine.
Now I want to map this volume to a new folder in the filesystem of a new machine.
shall I do bind mounting in the container to the new VM location…

NesuGH
- 79
- 1
- 2
- 12
1
vote
0 answers
Configset directory missing when using host-mounted directories
Using latest Docker image for Solr. I have created configsets using dockerfile copying my configset files to /var/solr/data/configsets/
When I start it using named volume the, configsets works fine.
But when I do it using host-mounted directories on…

Krunal
- 2,967
- 8
- 45
- 101
1
vote
1 answer
Jenkins in Docker: clarification about bind mounts in pipelines
I'm running Jenkins in a Docker container. Following this article, I'm bind mounting the Docker socket in order to interact with it from the dockerized Jenkins. I'm also bind mounting the container directory jenkins_home. Here is a quick recap on my…

floatingpurr
- 7,749
- 9
- 46
- 106
1
vote
1 answer
Solution to mount a persistent "dynamic" file in Kubernetes
The idea is to store persistently the data generated by the user in Jenkins Dashboard (jobs, scriptlers, credentials, ...) so when I mount theses volumes after each restart, I am able to retrieve the stored data (mounted volumes) in jobs and…

Maurice Amar
- 129
- 1
- 9