Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [docker]

Docker images, containers, hub, and everything related to the containerization platform

3
votes
1answer
70 views

Process auditing in containers

I've read numerous articles on this going back to 2013, but what I wasn't able to ascertain is whether a reliable method has yet been devised for auditing processes inside a container. This question ...
3
votes
1answer
38 views

Docker Persisting Data During Build

I am trying to create a custom container which also contains MongoDB (hence not using the official MongoDB container). I am trying to add authentication to the database, and I think I am having an ...
3
votes
1answer
538 views

How to change Xmx settings for sonar runner?

This Question has been answered on Stackoverflow, the below answer is partly correct but cannot be accepted due to a pending review. I have a Sonarqube instance running as a docker container. Since I ...
3
votes
1answer
435 views

Globally configuring Gitlab with Jenkins in docker container environment

I have Jenkins users authenticated by OpenLDAP and also gitlab CE instance authenticated by the same OpenLDAP. And all the three are running in three different docker containers in the same network. ...
2
votes
1answer
23 views

How to create a preemptable docker container?

Is there any way by which I can set a lifetime for a container after that much of time it should be stopped automatically and only awake when someone send a request. I wanted something like ...
2
votes
1answer
350 views

How to test an ansible playbook using molecule inside docker locally?

When molecule is run on travis, the build is successful: $ molecule test --> Validating schema /home/travis/build/030/ansible-firefox/molecule/default/molecule.yml. Validation completed ...
2
votes
1answer
42 views

Built codebase doesnt appear after deploying

I'm packaging and shipping a custom code base of Wordpress with a Dockerfile in to my private container registry. Dockerfile: FROM wordpress:latest ADD . /var/www/html Then on the deployment ...
1
vote
1answer
44 views

How to deploy my Express/React app to server with docker-compose and Dockerfiles

Hi, I'm trying to deploy my app to production with Docker, but I struggle a lot. Here is the structure from the root folder : a server folder : runs with Express on port 4000 a web folder : a ...
1
vote
1answer
28 views

Is it allowed to remove mounted directory from inside Docker container?

I have a container which is based on tomcat image and I have mounted 'webapps' folder to hosted machine directory '/app/webapps'. Now for some updations I want to remove this webapps folder from ...
1
vote
1answer
47 views

Best practice for Jenkins docker to deploy to other container

I'm currently experimenting with docker with the potential of using it in future professional projects and am a bit confused about best practices. In my experimental setup I have three docker ...
1
vote
1answer
43 views

running a phpUnit test within a docker container

i want to run a specific version of phpUnit WITHIN a docker container. This container will use a specific version of php. i.e php:5.6-apache Its a lareval application. i have install phpunit via ...
1
vote
1answer
40 views

Is there an alternative to setting up the whole project workspace in a Jenkinsfile

I have a ROS project for which I'm looking to use Jenkins to set up a CI system. The project has a large number of dependencies which take a long time to build (they can't be installed on the build ...
1
vote
1answer
45 views

Docker: subnet clients can't ping other subnet

Two containers are created with this Dockerfile: FROM ubuntu:18.04 RUN apt update && apt upgrade -y && apt install -y vim iputils-ping net-tools tcpdump iproute* iptables traceroute ...
1
vote
1answer
100 views

Tfs octopus migration to k8s and docker

My current client uses .net and .net core, tfs and deploys via octopus. They want to use helm, k8s and docker. With all of the environments, env variables are already in octopus. I am thinking to ...
1
vote
1answer
29 views

How to install docker in Raspbian Virtual Machine

I first installed docker in raspberry pi using: https://iotbytes.wordpress.com/setting-up-docker-on-raspberry-pi-and-running-hello-world-container/ which successfully did. I tried doing the same with ...
1
vote
1answer
26 views

Set container registry auth key via command line/env variable

I'm trying to set up Jenkins CI pipeline which will be used to build docker images. I have my auth key stored in Jenkins credentials and I want it to be loaded on start in placed in some environment ...
0
votes
1answer
10 views

Running Protractor tests in docker through teamcity

I have a project for which I am using Teamcity to automate deployment, and I would also like to automate testing. It is an angular frontend, and we have some protractor tests. I would like to run ...
0
votes
1answer
19 views

Add mapping ip and host into /etc/hosts with docker

I am using docker to scale my service. I know there's a command called --add--host for adding host into /etc/host However, I have a bunch of hosts need to be added. It's just too long to launch a ...
0
votes
1answer
24 views

LAMP in docker must be multiple containers or one?

I newbie in docker and I cant find answer what solution is more "right" for LAMP stack: 1) One "standalone" container that will consist from Apache, PHP, MySQL, etc 2) Special container for each ...
0
votes
1answer
8 views

How to perform low-level inspecting of a Docker network traffic?

I'm currently in a scenario that requires Docker container C to be able to intercept communication between docker containers A and B, without their knowledge. I am basically attempting to do a ...
0
votes
1answer
48 views

Failed to start Container after reboot

I am hosting an own registry. After rebooting the Server my registry container is unable to start. I used this command to start the registry docker run -d -p 5000:5000 --name registry -v /var/lib/...
0
votes
1answer
18 views

Unable to create container after installing mysql and phpmyadmin | Ubuntu

I have installed docker successfully and try to install phpmyadmin and mysql. I have did following steps. Using below link I have pulled php version https://hub.docker.com/r/codepulse/php-7.2.0-...
0
votes
1answer
14 views

What package manager does the gitlab docker CI image use?

I'm trying to install additional software but apt-get is not available. So in my .gitlab-ci.yml file I have: image: docker:stable What is the image based off from?
0
votes
1answer
16 views

Jenkins run build in docker on server (withDockerServer not working)

I am trying to run my build inside a docker; but I don't want the docker to run on the jenkins master but on another server that has docker running. What does work: inside jenkins configure a docker ...
0
votes
1answer
43 views

How do I make NFS volumes reliable in Docker?

I host various docker containers on my Ubuntu 18 machine. A few of them require storing their data on my Synology NAS. At first, I was using the host machine's /etc/fstab to control NFS mounts, which ...
0
votes
1answer
160 views

Error with declaring volumes in Docker-compose, 'no such file or directory, open '/app/package.json'

I am a very beginner in the Docker world, while I am trying to experiment with Docker file and Docker-Compose I am facing the below error, I now am able to understand it is related to declaring ...
0
votes
1answer
29 views

How to run/deploy devilbox (Docker image) docker-compose on GCP without a Dockerfile?

Devilbox comes with a docker-compose file to run a docker container: https://github.com/cytopia/devilbox However, on the GCP Kubernetes Engine it is only possible to start up a new container via a ...
0
votes
1answer
22 views

What is DOCKER_CONTENT_TRUST flag?

I am trying to understand this flag DOCKER_CONTENT_TRUST=1 but not able to figure it out. How does it effect pushing images and pulling images, let's say from docker hub?
0
votes
1answer
26 views

How to secure persistent user data with docker on client location?

everyone! I'm working on a system where a dockerized application must run on client side machines (Ubuntu PC), with some sensitive data that must persist between runs that we want to limit access to. ...
0
votes
1answer
33 views

How can I change Docker Image Repo Path in Docker Registry?

I pushed 10+ images in local-registry, but I pushed them with the wrong path. The wrong repo path: local-repo:5000/docker-local/sla/sla/actuator:0.0.1 It should have been path: local-repo:5000/...
0
votes
1answer
56 views

What is the difference between dockerd and com.docker.service in Docker for Windows?

What is the difference between dockerd and com.docker.service in Docker for Windows? Or rather I should ask: why do I need (if I need) com.docker.service running? Intention: I want to use Docker only ...
0
votes
1answer
331 views

Helm install or upgrade release failed on Kubernetes cluster: the server could not find the requested resource or UPGRADE FAILED: no deployed releases

Using helm for deploying chart on my Kubernetes cluster, since one day, I can't deploy a new one or upgrading one existed. Indeed, each time I am using helm I have an error message telling me that it ...
0
votes
0answers
60 views

Login to docker registry using chef

We want to create a chef recipe which can able to login to docker registry and pull some images. I have tried using docker_registry resource as mentioned here https://github.com/chef-cookbooks/docker#...
0
votes
0answers
35 views

Not able to install Docker CE 17.x or 18.x on RHEL Linux

I am trying to install docker latest version using the below curl commands: $ curl -fsSL get.docker.com -o get-docker.sh $ sh get-docker.sh But this script is not working for my RHEL 7.x Error : ...
0
votes
0answers
90 views

How to intercept and redirect network communication inside docker containers?

I am fairly new to Docker-compose and have been tinkering around a bit. in the process, i came across a requirement where i need to close down external internet traffic, and redirect requests to ...
0
votes
0answers
369 views

Use Traefik with Jenkins don't work

I'm trying to use Traefik with a Jenkins container, but it does not work. This is my docker-compose.yml: version: '2' services: jenkins: image: bitnami/jenkins:latest # ports: # - '...
0
votes
0answers
74 views

Best alternative to deploy/update docker using Jenkins for CI/CD

I'm running Jenkins as a docker image, and I'm looking for the optimal way to deploy new (or update existing) docker images (example staging and prod environment). I've founded this example : https://...
0
votes
0answers
297 views

ECS task fails to start when deploying Docker multi container App in Elastic beanstalk

I have a beanstalk application environment that use multi container docker instances.I have also pushed an image(simple app running a simple node js) to my ECR repository.But whenever i try to ...
0
votes
0answers
54 views

How to detect exception occured in a Pod in Kubernetes?

I have a multinode kubernetes cluster. Multiple services are deployed as Pods. They communicate over each other via rabbitmq which also exists as Pod in the Cluster. Problem Scenario: Many time ...
0
votes
0answers
73 views

How to do Rancher 2.0 Node Scheduling Priority Settings?

Does anyone have experience with Rancher 2.0 priority scheduling? I would like to make sure certain containers are running over others. If I add scheduler, priority and priority class name, nothing ...
0
votes
0answers
21 views

Jenkins Custom Configxml

I'm building a custom Jenkins docker images , so I need some custom configuration at config.xml of Jenkins master . For example ; <docker-registry-url> <url>https://registry....
0
votes
0answers
13 views

Facing issues with configuring Elasticsearch on docker contianer on a private server

I am trying to configure the elasticsearch inside a contianer in a Private instance , logstash and kibana is on public instance , so i have ran the below command to get the elasticsearch up and ...
0
votes
0answers
325 views

Enabling Docker containers to connect to Internet from laptop while running only on WiFi

These are the network interfaces I have on my Debian Linux Stretch laptop ~$ ip a 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:...
0
votes
0answers
29 views

Load Balacing Nodejs application using Nginx and Docker

I am following this YouTube tutorial on how to configure Nginx Server on Docker /docker_compose.yml version: '3' services: nodecluster: build: nodecluster ports: - "49160:...
0
votes
0answers
17 views

Preparation Failed Error on Centos

I'm trying to use Gitlab-Runner with Docker running on Centos to do some CI shenanigans, but I keep getting the error ERROR: Preparation failed: error during connect: Get http://%2F%2F.%2Fpipe%...
0
votes
0answers
98 views

Should CDN upload be part of my Docker build?

I've set up a Docker container that builds and executes a web application. That container gets built on a CI as a service, then pushed to a private Docker registry to be run from my servers. I want ...
0
votes
0answers
74 views

Saving core dumps when AWS restarts a docker container

I have a Java Spring application running in a Docker container on AWS. When the Spring process is dead, the AWS is configured to automatically restart the Dockercontainer. This deletes any heap dump ...
0
votes
0answers
114 views

Connect to Container over local network from iPad to Windows 10

I am running a website using Docker for Windows on my Windows 10 machine but need to test on an iPad. This is easily done on my Macbook - just visit the ip of my Macbook on the network (I tether using ...
-1
votes
0answers
16 views

From container to tunnel from host OS

I am trying to use a tunnel to a remote server from my Host OS (Port 3333 on host OS to port 3306 remote server), and accessing this tunnel from a docker container (Devilbox php container). Looking ...
-2
votes
0answers
34 views

Can someone ELI5 what Docker is and why it's used

Posted byu/pouyank just now Starting robotics research with a Docker; could use some help getting context. So I've gotten robotics research in school (currently an undergrad) and I've been thrown into ...