skip to Main Content

Docker Volumes running in alphabetical order instead of the order I placed them

I have a docker-compose.yml file that looks like this version: '3.7' services: postgres: image: postgres:12.7 restart: always environment: - POSTGRES_USER=xxxx - POSTGRES_PASSWORD=xxxx logging: options: max-size: 10m max-file: "3" ports: - '5438:5432' volumes: - ./A.sql:/docker-entrypoint-initdb.d/A.sql - ./B.sql:/docker-entrypoint-initdb.d/B.sql - ./D.sql:/docker-entrypoint-initdb.d/D.sql - ./C.sql:/docker-entrypoint-initdb.d/C.sql…

VIEW QUESTION

Docker: Got "permission denied" error at volume mounting directory

I wrote a docker-compose.yml like this: version: "3" services: notebook: image: jupyter/datascience-notebook ports: - "8888:8888" volumes: - jupyterlabPermanent:/hahaha environment: JUPYTER_ENABLE_LAB: "yes" TZ: "Asia/Tokyo" command: start-notebook.sh --NotebookApp.token='' volumes: jupyterlabPermanent: Let me make it clear that what characters are appearing on the…

VIEW QUESTION

Error when using `docker run` with volume

I'm really inexperienced with this. I'm a programmer, not a sysadmin. I'm trying to run a windows docker container on a windows host using this command: docker run --name DevSQLCont -p 1433:1433 -e accept_eula=y -e sa_password=Super5ecret! tobiasfenster/mssql-server-dev-unsupported:2019-cu14 -v sqlvolume:c:sqlvolume resulting…

VIEW QUESTION

remove a volume if exists – Docker

As part of my CICD deployment, there is a volume my_volume that gets created on docker-compose build/up, that needs deleting every deployment. Therefore the CICID script calls docker volume rm my_volume before docker-compose build/up. But if a build fails, subsequent…

VIEW QUESTION
Back To Top
Search