Questions tagged [docker-container]

Docker Containers are the core of the docker platform in which programs and applications can be packaged and run in simulated environments.

Docker containers are the core of the docker program in which programs and applications can run in simulated environments.

These containers serve as a way to simulate code that would otherwise cause irreversible changes to a systems hardware. The difference between this and a virtual machine is that the docker container does not run code on the same level as the virtual machine on top of the fact that it is a lot more portable.

Docker containers can be loaded with any type of environment, even your currently used machine, or serve as simple tool boxes for your file sytems.

For more info, see the official documentation of a docker container.

1187 questions
-1
votes
1 answer

How can I connect to MySQL server running on host pc from inside Docker container?

I have mounted the mysql socket into the container using: -v /var/run/mysqld/mysqld.sock:/tmp/mysql.sock But I get this error: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysql.sock' (111)
-1
votes
1 answer

Access Docker Container Webserver

Short notation of my network setup A - Fedora23 [ ip 192.168.1.11 ] B - Ubuntu Docker Container which runs in A [ ip 172.17.0.2 ] C - Fedora23 (one more system in my network) [ ip 192.168.1.10 ] firewall is disabled in both A and C. I have…
Bilal Usean
  • 2,322
  • 3
  • 22
  • 45
-2
votes
1 answer

Docker push: Force Push All Layers?

Does docker push possess a --force flag which forces all layers to be pushed to the repository, regardless of whether the repository believes those layers are unchanged? Thank you!
-2
votes
1 answer

Batch file not executing a command

I am trying to create a .bat file that will back-up the database inside the container. After the first command (that is used to enter the container) the next one is ignored. docker exec -it CONTAINER_NAME /bin/bash cd /var/opt/mssql/data Any ideas…
late1
  • 62
  • 9
-2
votes
1 answer

Docker image ENV cant find a file?

i am trying to setup and run a docker image that runs a game server. My docker command looks like this: docker run --name 7dtd -d -t \ -p 26900-26905:26900-26905/tcp \ -p 26900-26905:26900-26905/udp \ -e…
Jono
  • 17,341
  • 48
  • 135
  • 217
-2
votes
1 answer

How to start a docker container from a image with a given name?

I am trying to run an image with a given container name. How to achieve this? I am running this command: docker run -it -d macgyvertechnology/tensorflow-gpu:basic-jupyter --name hugging-face-models-run --gpus all
Exploring
  • 2,493
  • 11
  • 56
  • 97
-2
votes
1 answer

The URL is not working after running the container in Docker Toolbox

I pulled the docker container from the docker hub. After running the container, it gave me two links which should direct me to my desired page but both links show "the site can't be reached. I am using the following command: docker run 'name of the…
-2
votes
4 answers

Some questions about Docker images and containers

Question 1: I have created a MERN stack application and successfully containerize and push image on Dockerhub. My friend wants to access my code so he takes a pull from DockerHub but how he can be able to see my code? Question 2: If he is not able…
Deepika vijay
  • 217
  • 1
  • 2
  • 7
-2
votes
2 answers

How to build multiple containers in Jenkins file?

I have 3 different Docker images. I need to build these images from Jenkins file. I have Wildfly, Postgres, Virtuoso Docker images with individual Docker file. As of now, I am using the below command to build these images: 'sh docker build docker…
-2
votes
1 answer

How to access node.js angular application outside container

i have a node js angular application which i am trying to containerize it. i am using Docker file to build the image and run the docker i am not getting any error and the build is success Node.js build Dockerfile
Ajay R
  • 1
  • 4
-2
votes
1 answer

Delete docker specific images

I need some kind of Docker behaviour. Imagine docker image name is imagename and image also have tag(1, 2, 3 ...). Now I want to delete all images with the name imagename and with the tag that isn't x. For example if I have…
O. Shekriladze
  • 1,346
  • 1
  • 19
  • 36
-2
votes
1 answer

docker on ubuntu 16.04 error when stopping container

I'm totally new with Docker and tried to create my first container from an image I built from my aspnetcore project. The image was built, I could started a container but I want to change some things so I need to remove this container. Problems…
Gobelet
  • 453
  • 2
  • 7
  • 18
-2
votes
1 answer

Unable to connect to SQL Server database from docker containers

I created a simple ASP.NET MVC web application using .Net Core and SQL Server technology stack. I followed the official Microsoft documentation and its working fine with the database. Then I added docker support in my project. The docker image…
-2
votes
1 answer

How to find a process's pid in docker host namespace from inside a container in which it is running

I have a process running inside a container. I want to know this process's pid in docker host namespace from inside the container. I have a docker client installer inside the container from which I can execute a few commands but I do not have full…
Ru2ja
  • 1
  • 4
-3
votes
1 answer

OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: :

I've created a astronomer airflow directory home\acoppers\astronomer. I ran docker db init and docker astro start to get my containers running. I want to authenticate my scheduler container to gcloud so I tried the command: docker container exec -it…
unnest_me
  • 119
  • 1
  • 2
  • 9
1 2 3
79
80