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
0
votes
1 answer

mount external volumes in docker container

I have CentOS host and CentOS docker container. I have mounted an external volume in CentOs host. I want to mount this external volume inside of CentOS docker container. I have tried the following command: mount -t ext4 /dev/sdf…
Rhenatasr
  • 1
  • 1
0
votes
0 answers

How to edit files in docker for scrapinghub portia

I have created a pipeline to store the crawled items in JSON file and added the pipeline to the path /slybot/slybot/mypipeline.py After that I have installed Portia package using docker. Installation successful. Then I have started portia using the…
Prabhakar
  • 1,138
  • 2
  • 14
  • 30
0
votes
0 answers

how to export VM (VirtualBox) to tgz archive?

I'm trying to use docker import to get VM in a container, but the required format is "image.tgz", is it possible to export a VM image from VirtualBox to ".tgz" format?
0
votes
1 answer

Error executing "docker ps --format". Error: flag provided but not defined: --format

I have install docker using following command: sudo apt-get install docker.io for testing purpose, I run a Ubuntu image in detached mode using sudo docker run -d -it Ubuntu But when I tried to execute docker ps command like sudo docker ps…
0
votes
1 answer

Error in Docker overlay folder after replacing mounted folder with a file on the host

I had a Docker container with a folder mounted in it from the host (noureldin.local.crt is a folder): etc/ssl/CA/ICA01/keys/noureldin.local.crt:etc/ssl/samba.crt:ro and then I deleted that folder from the host and created a file with exactly the…
Mohammed Noureldin
  • 14,913
  • 17
  • 70
  • 99
0
votes
2 answers

How to map an AWS S3 Bucket into a container on AWS ECS with AWS CloudFormation template?

I'm working on a VOIP project using Asterisk on Linux. Our current goal is to have several EC2 machines running an Asterisk container on each of them, and we want to be able to have development, staging and production environments. To do this, I'm…
0
votes
1 answer

How to check that a local URL is reachable

Im deploying docker containers on my local machine. They way I check that they are successfully deployed is by going to my browser and typing http://192.168.99.105:7474/browser. I would like to do this programmatically so I followed the code in this…
jmc
  • 1,649
  • 6
  • 26
  • 47
0
votes
1 answer

Terminal with Docker Compose with Links

I would like to link three services together (db, nginx, and web service) under a bridge network and be able to poke at the different services from my localhost or from inside the container, and have an interactive terminal for the web service. How…
0
votes
1 answer

Python 3.4 matplotlib 1.5.1 pyplot.pause threw me NotImplementedError (running in Docker on Windows)

I am following this Tensorflow tutorial using his code and trying to reach the result shown at 8:00, but I must use Docker on Windows with Jupyter for some reason, instead of his IDLE. The Docker machine is running on "Linux 2.6 / 3.x / 4.x…
Oliver Li
  • 11
  • 1
  • 4
0
votes
1 answer

how to connect remote docker container mysql server

is there any way to connect remote docker container mysql server? I am installing magento web application, now I have a situation like I need to use/point the existing remote docker container database. I have make port forwarding in order to access…
Bilal Usean
  • 2,322
  • 3
  • 22
  • 45
0
votes
1 answer

when doing docker compose, is it possible to keep previous docker composition

I have a docker composition with 3 contaiers. I would like to keep these 3 containers and recreate another instance of the composition, without reusing, nor deleteing the previous 3 containers. Conceptually, would be like running 2 intances of the…
Emil Salageanu
  • 997
  • 1
  • 10
  • 24
0
votes
2 answers

How to version control Docker containers' data volumes?

I want to run Jenkins in a docker container, and according to my understanding of this thread the best practice for managing the container's data is to use docker's new volume API (so I can update the Jenkins container without losing my data) My…
e.t.
  • 115
  • 1
  • 7
0
votes
1 answer

Sending logs from docker container to FluentD

I have a Docker container and I am sending logs from the docker container to FluentD. Now, I use the FluentD logging driver, but I am having a doubt. On the documentation (link:…
0
votes
1 answer

How to use child_process inside nodejs application running inside docker container

I try to run one nodejs application inside of docker container. Everything is as expect once I get into docker container and execute the application. However, once I use docker exec to send the command to container. The error is occured as…
jacobcan118
  • 7,797
  • 12
  • 50
  • 95
0
votes
2 answers

port linking from docker container to host

I have the following situation. I have a service that listens to 127.0.0.1 on port 1234 (This cannot be changed for security reasons). On the same machine run a docker container. I need to somehow connect to the service on the host from within the…
Mr T.
  • 4,278
  • 9
  • 44
  • 61