docker-container Questions

2

I have Docker installed on my Windows OS. There is my volumes filed of docker-compose.yml: volumes: - "/var/run/docker.sock:/var/run/docker.sock" I just can't figure out how /var/run/docker.soc...

3

When I'm trying to connect to mongo-express I'm getting a connection issue, kind of error version: "3" services: mongodb: image: mongo ports: - "27017:27017" environment: ...

3

Solved

I am using the "plain" postgresql:alpine docker image, but have to schedule a database backup daily. I think this is a pretty common task. I created a script backupand stored in the container in /...
Chico asked 2/3, 2018 at 17:37

6

I need to edit a file in a docker container. as no advanced ide inside the container,I wonder if vscode or some other ide can access into the container and let me edit files as outside the containe...
Shakta asked 14/11, 2018 at 3:5

12

Solved

I'm using this container to start elasticsearch in docker. In accordance with the manual I have to update max_map_count to start the container sudo sysctl -w vm.max_map_count=262144 but.. I ca...
Clifford asked 16/12, 2016 at 21:29

3

Solved

I have a docker container called node that I want to scale to n containers. A given node container needs to know which container it is in the set of n scaled node containers. The total could be in ...
Buccal asked 29/9, 2016 at 12:45

2

Solved

I know you can specify user and group IDs with the docker run command and you can force the same IDs when building an image in order to have an easy life dealing with file permissions (e.g. as desc...
Abductor asked 2/11, 2022 at 10:28

5

I have a web api project with running fine when i ran through visual studio, able to build the image also. but when i run using the command docker run -d -t -p 8000:83 8fbf296e2173 shows no erro...
Incommunicative asked 4/4, 2019 at 5:38

12

Solved

I can see that Docker takes 12GB of my filesystem: 2.7G /var/lib/docker/vfs/dir 2.7G /var/lib/docker/vfs 2.8G /var/lib/docker/devicemapper/mnt 6.3G /var/lib/docker/devicemapper/devicemapper 9.1G /v...
Thaxton asked 5/11, 2014 at 9:1

13

I had multiple stopped containers and images on my machine. I want to clean up and remove all containers: docker ps -a returns nothing. I run docker rmi $(docker images -q) to remove the cached ima...
Mesics asked 17/11, 2018 at 19:1

6

Solved

I'm creating an application that will allow users to upload video files that will then be put through some processing. I have two containers. Nginx container that serves the website where users ...
Zettazeugma asked 25/11, 2019 at 15:51

14

There are scope of services which are defined in docker-compose.yml. These services have been started. I need to rebuild only one of these and start it without up other services. I run the followin...
Conduction asked 27/4, 2016 at 8:57

6

Solved

i'm doing a tutorial in docker, and trying to copy a image from docker, and reference the index.hmtl file im my local file, vinnyx05 -> is my login at docker, im running docker desktop. in using...

32

Solved

I'm getting started working with Docker. I'm using the WordPress base image and docker-compose. I'm trying to ssh into one of the containers to inspect the files/directories that were created durin...
Racemose asked 11/5, 2015 at 16:12

4

Solved

We have a .NET Core project in Visual Studio (2017) that has Docker support added. Our project relies on environment variables to configure itself at start up. As we understand it, in order to pass...

52

Solved

I am trying to build a backup and restore solution for the Docker containers that we work with. I have Docker base image that I have created, ubuntu:base, and do not want have to rebuild it each t...
Cohin asked 7/4, 2014 at 8:28

15

Solved

I've seen a bunch of tutorials that seem do the same thing I'm trying to do, but for some reason my Docker containers exit. Basically, I'm setting up a web-server and a few daemons inside a Docker ...
Lynnelynnea asked 10/9, 2014 at 21:18

1

Besides setting a limit for each service (container) inside the docker-compose I'd love to know if there is any way to simply limit the memory the docker-compose stack has access to, similarly to t...
Houchens asked 13/5, 2021 at 17:46

1

My windows docker container cannot resolve host.docker.internal, but it's working with Linux containers. I would prefer to stay with Linux containers, but I am having trouble with an old .Net frame...

43

Solved

I have a Nginx running inside a docker container. I have a MySql running on the host system. I want to connect to the MySql from within my container. MySql is only binding to the localhost device. ...
Mesoblast asked 20/6, 2014 at 3:54

32

Solved

When using Docker, we start with a base image. We boot it up, create changes and those changes are saved in layers forming another image. So eventually I have an image for my PostgreSQL instance a...
Shoon asked 19/5, 2014 at 10:15

3

Solved

In some places when I read about Docker containers, I found some people talking that they lose their data (saved inside the container and not a part of volume data) when they restart the container....
Goldofpleasure asked 28/11, 2016 at 17:24

2

Solved

I am trying for nginx proxy manager (running in a docker container) to connect to another docker container that has port 8080 open on it. When I setup the proxy to connect to 192.168.0.29:8080 the ...
Christophe asked 9/8, 2021 at 15:19

6

Solved

Based on this tutorial https://www.youtube.com/watch?v=XrFeRwJjWHI , I tried running Redis in Docker. File docker-compose.yml version: "3.8" services: redis: image: redis volumes: - ...
Theodicy asked 10/10, 2020 at 15:43

13

I have setup Docker container for access my machine docker container to another machine in local. Create a container below command: docker run -it -d --name containerName -h www.myhost.net -v /v...
Aliber asked 16/9, 2016 at 7:19

© 2022 - 2024 — McMap. All rights reserved.