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

ubuntu docker container connect with mongdb running on localhost in windows

I pulled the ubuntu image and run the container on my windows. I want to connect my MongoDB running locally on windows with ubuntu container. How it is possible or if not what is the best practice to achieve this?
-1
votes
1 answer

CrashLoopBackOff Running Loop : Docker and GraphQl Warning Unhealthy connection refused

I'm new with docker, i got this error i'm using AMZ platform with mongoDB and graphql with Docker everything was working fine cause i didn't wright all the code, and boum i constantly get running and CrashLoopBackOff all the times :( i don't know…
-1
votes
3 answers

while starting a docker container I have to execute a script inside docker container

while starting a docker container I have to execute a script inside docker container. Can I do it using docker run command or docker start command mentioning the path in docker? I know I have to use CMD in docker file but dockerfile is not present
user3906723
  • 117
  • 2
  • 15
-1
votes
1 answer

Unable to reach angular running in Docker container

I am brand new to Docker so pleas bear with me. Dockerfile: FROM node:alpine WORKDIR '/app' COPY ./package.json . EXPOSE 4200 RUN npm i COPY . . CMD ["npm","start"] Commands: docker build -t angu . docker run -p 4300:4200 angu I am not sure if…
SamuraiJack
  • 5,131
  • 15
  • 89
  • 195
-1
votes
1 answer

My Docker is crashing in Windows 10 Enterprise - (Docker hv-sock proxy (vsudd) is not reachable)

I am using a Windows 10 Enterprise edition system. I have installed version: 17.03.1-ce-rc1-win3 (10625) Channel: edge . The Docker machine was working fine until a few days back. Few days back I had disable Hyper-V in my system to use Oracle…
Ashwin Dora
  • 115
  • 1
  • 12
-1
votes
1 answer

OS software inside Docker containers?

On Linux, I know that all docker containers share Host operation system Kernel. As far as I know, In OS there is software layer above Kernel, so I think that containers, that share Kernel, don't pay any attention to Host OS software layer. So I came…
O. Shekriladze
  • 1,346
  • 1
  • 19
  • 36
-1
votes
1 answer

Volume files changes do not propagate in the browser

My problem is as the title says, whatever change i make in a file the browser won't display it if i'm not rebuilding the image.I used sh to watch if the changes do exist inside the container and yes, they do. I'm using docker-compose: version:…
Petru Lebada
  • 2,167
  • 8
  • 38
  • 59
-1
votes
2 answers

How to Find The User Who Stopped Docker Container

I want to know what is the user who stopped a docker container. There are several user accounts on my server. I suspect that one of them sometimes stops the container. How can I find the user that performed this operation?
mgnfcnt2
  • 363
  • 1
  • 3
  • 5
-1
votes
1 answer

Deploy a monolithic and Microservices in same Docker container

Can I deploy both an asp.net Monolithic application and a Microservices application in the Same Docker Container? How to do it ?
-1
votes
1 answer

How to receive systemd status and docker container status in telegraph?

I am trying to use telegraph to stream docker stats, to do so I am using docker input plugin as specified here - https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker I am trying to send my output to a file. I notice that I am…
Magic
  • 505
  • 2
  • 6
  • 19
-1
votes
1 answer

Systemctl command getting this error: Failed to et D-bus: Unkknown error -1 | Docker Opensuse

In opensuse docker container, cronjob is not working. When I try systemctl command getting this error: Failed to et D-bus: Unknown error -1 . I have tried many blogs and stackoverflow questions everywhere It was advised that basic architecture of…
-1
votes
2 answers

Write to docker container using Dockerfile

I have dockerfile like this FROM ubuntu:16.04 RUN apt-get update RUN apt-get install -y software-properties-common vim RUN add-apt-repository ppa:jonathonf/python-3.6 RUN apt-get update RUN mkdir /app WORKDIR /app ADD test_write.py /app/ RUN…
Yogesh
  • 865
  • 6
  • 13
-1
votes
1 answer

How to reload env's from within a running docker container

I checked the closed issue reported on github: https://github.com/moby/moby/issues/3285 But the solution doesn't works.
Jaswinder
  • 1,455
  • 14
  • 27
-1
votes
2 answers

docker container expose static ip

I am trying to bind a desired IP and port to a docker container and expose it to the network so that it can be accessed through the other machines in the network irrespective of the machine it is running on. I am very new to docker. I am able to…
Prabhat
  • 11
  • 4
-1
votes
1 answer

Connection refused when trying to run Kong API Gateway using a docker container

I am trying to run Kong API Gateway using a docker container. I followed the instructions on hub.docker.com/_/kong/, started Cassandra database and Kong. I have Cassandra running using the below command: docker run -d --name kong-database \ …
user5326122