I am running a docker-compose project in a DigitalOcean Docker droplet. I also have a persistent volume. It has been mounted on /mnt/volume_fra1_01 In my docker-compose.yml, I defined the volume for the database: … db: image: postgres:12.0-alpine volumes: – postgres_data:/var/lib/postgresql/data/ env_file: – ./postgres/.env … volumes: postgres_data: … and I’ve created the symbolic link with sudo ..
I have a rabbit mq pod and I configured to use a persistence storage incase of pod restart/deletion by mounting a volume. I configured everything but not able to get through this error: /usr/lib/rabbitmq/bin/rabbitmq-server: 42: /usr/lib/rabbitmq/bin/rabbitmq-server: cannot create /var/lib/rabbitmq/mnesia/[email protected]: Permission denied Here’re my config file and deployment app for kubernetes Dockerfile FROM ubuntu:16.04 # hadolint ..
I am currently learning how to use Flask, PostgreSQL and Docker because I am trying to do a web app. I have created two containers for the development phase: one for the database and other one for the web. The problem that I have is that whenever I stop and restart my containers, the data ..
docker run -ti –rm -v DataVolume3:/var ubuntu Lets say I have a volume DataVolume 3 which pulls the contents of /var in the ubuntu container even after killing this ubuntu container the volume remains and I can use this volume DataVolume3 to mount it to other containers. This means with the deletion of container the ..
I was trying to run a simple docker container with bind mount, so the application can read and modify data.json file (from host machine). I placed data.json in /home/usr/project and ran the container with docker container run -it -v /home/usr/project:/app container_name main.exe project contains 3 files, rest of the 2 files were included in container ..
I am trying to deploy a flink cluster with docker compose, this has been working fine, but whenever the job manager is restarted it drops all of the JAR files. According to the flink website: https://ci.apache.org/projects/flink/flink-docs-stable/ops/deployment/docker.html I need to mount the folder location like this: – /host/path/to/job/artifacts:/opt/flink/usrlib however, upon successfully doing so, no jobs appear ..
I’m new with docker and docker-compose, and I have issue with persistent storage. I have three folders that I need to keep files outside of docker. I don’t know what I’m doing wrong. docker-compose.yaml version: ‘3.3’ services: webserver: build: context: ./ dockerfile: webserver.DockerFile ports: – 80:80 – 443:443 volumes: – html:/var/www/html – platforms:/var/www/platforms – sites-available:/etc/apache2/sites-available ..
I’m running Julia on the raspberry pi 4. For what I’m doing, I need Julia 1.5 and thankfully there is a docker image of it here: https://github.com/Julia-Embedded/jlcross My challenge is that, because this is a work-in-progress development I find myself adding packages here and there as I work. What is the best way to persistently ..
I’m stuck with an annoying issue, where my pod can’t access the mounted persistent volume. Kubeadm: v1.19.2 Docker: 19.03.13 Zookeeper image: library/zookeeper:3.6 Cluster info: Locally hosted, no Cloud Provide K8s configuration: apiVersion: v1 kind: Service metadata: name: zk-hs labels: app: zk spec: selector: app: zk ports: – port: 2888 targetPort: 2888 name: server protocol: TCP ..
If a container running filebeat is lost and we launch a new container, the registry file of the old container will be lost too and the new container wouldn’t know from where the harvester should read the new files which will cause inconsistent/ambiguous data in elasticsearch. It will read the whole file again. So, how ..