51 questions
0
votes
0
answers
41
views
Dependencies issues in docker container
I'm using a Django Based Web Application. The application is using Multiple containers which includes Redis, Postgres, ElasticSearch, Kibana and Application container. When I run "docker-compose ...
0
votes
1
answer
51
views
How does docker recognize if run -v option refers to host directory or a docker volume?
When executing docker run with option -v a:b, a could refer either to a directory on the host, or a docker volume name. How does docker recognize which one is it?
0
votes
2
answers
534
views
Docker-compose not building up successfully
On running docker-compose up -d --build I am getting the following error:
PS C:\Users\KELLYRYAN\Documents\august-code\drf_course\drf_course> docker-compose up -d --build [+] Building 128.5s (11/18) ...
2
votes
1
answer
3k
views
template parsing error: template: :1: unexpected "=" in operand
template parsing error: template: :1: unexpected "=" in operand
I got the above error when executing the below command in Windows,
docker inspect --format="{{range $key, $value := ....
0
votes
1
answer
524
views
Why container stop after succeful registeration runner?
I want to register gitlab runner once in my docker-compose. yaml. I touch the command in command section to register in non interactive mode.Why container stop after succeful register ...
1
vote
1
answer
2k
views
docker compose | cant run two command using '&&' in command property
I have a docker compose file and in the definition of one of my containers I try to run multiple commands, but when I run two commands one after another, the other command doesn't execute.
I tried ...
0
votes
1
answer
1k
views
How to see all Docker image tags? [duplicate]
Question about Docker
Please tell me how to view the existing image tags through the console before pulling? Or the last 10?
I've seen such a command before, but now I can't find it(
0
votes
0
answers
40
views
Cannot remove or stop docker container
I run a web using sudo docker compose up but it has a container that recreate infinitely. Therefor, I want to remove that container and build it again, but when I run sudo docker container rm ...
0
votes
0
answers
219
views
OSError: Function not implemented - Odoo Docker - command: ["odoo","--dev","xml,reload"]
version: '3.4'
services:
db:
image: postgres:13
ports:
- "5432:5432"
environment:
- POSTGRES_DB=postgres
- POSTGRES_PASSWORD=odoo
- POSTGRES_USER=odoo
...
0
votes
1
answer
366
views
Docker Run Image Error no such file or directory
i try to run a docker image with this command:
docker run 7ce2964461cc
but get this error:
docker: Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/...
2
votes
1
answer
118
views
How to pass multiple commands to docker-compose.uffizzi.yml
I need to pass the next command to my service in docker-compose.uffizzi.yml
bundle exec rails db:create db:migrate db:seed && bundle exec rails s -b 0.0.0.0 -p 3000
According to this doc: ...
0
votes
0
answers
298
views
From cache perspective, what is the difference between docker restart and docker-compose restart?
Apologies in advance if these questions are very basic. But I failed to find answers that are on-point:
In terms of clearing the container cache (not policies and not SIGTERM):
1- What is the ...
1
vote
1
answer
2k
views
docker-compose create volume of my app folder and run node command in it
Docker beginner here.
I am trying to set up docker for local development. My ultimate goal is to be able to use "vite" to do hot module reloading development server.
Here's what I am trying:
...
0
votes
2
answers
332
views
Docker: can a cmdline argument be appended to a shell built-in command args?
I want to create a docker image with a cmdline-specifiable exit code.
From this question, I learned that I must use exit as an argument to sh because it is a shell built-in command, not an executable: ...
2
votes
0
answers
225
views
Docker Swarm Scheduling Performance with node.id Constraint
If I created a service with docker swarm specifying e.g. node.id==node42 as a constraint what would happen from the point of view of the scheduling process? The process would be performed entirely ...