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

0
votes
0answers
1 view

Google Container Registry giving 'Access Denied' when trying to push Docker container

So I'm trying to push my docker image to gcr.io/docker-url, but it's not working. I've tried the documentation that Google has, but that's still failed (https://cloud.google.com/container-registry/...
0
votes
0answers
11 views

How to manage volumes correctly with CI/CD workflow with nginx and laravel

Currently in a quandary over the best way to solve this issue. I've currently got jenkins pulling my app down from github repo, then using a workspace container with node, etc etc to build my ...
0
votes
1answer
21 views

Why Docker cant launch container?

I have docker-compose file with one image (httpd) and one volume that look into ./ folder (It contains only one index.html static file). When I start my computer I launch this image with docker-...
0
votes
1answer
14 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
0answers
7 views

How to build asp core 2.2 linux image on Hosted Windows 2019 with VS2019?

I'm currently redefining our build pipeline and build our sources by using the VM image windows-latest which currently resolves to Hosted Windows 2019 with VS2019. After calling publish I get my ...
0
votes
0answers
12 views

Harbor replication to docker.io

How do you configure Harbor to pull images from a 3rd party registry such as docker.io? I've setup a replication rule, and enabled it, but I can't pull any images. It looks more like replication wants ...
0
votes
2answers
37 views

Why is docker container recreated

I'm testing Wordpress docker on an Amazon EC2 machine. yesterday, all file based changes (like plugins, themes, etc) were gone. The Ec2 machine is up for 8 days, other containers are also up for 8 ...
0
votes
0answers
11 views

Issues trying to run multiple php-fpm containers for different environments for the same application behind a traefik proxy

I am setting up a live and test environment for a website I am hosting. Currently, I am facing issues and I can't seem to figure out why it is happening. I am using a MySQL, Nginx and PHP-fpm ...
0
votes
1answer
14 views

Using the builded binary of a docker image in another docker image

Problem I have two repositories A and B. I have a docker image registry, where I can push the docker images made of the repositories A and B. I need only the binary of A's source code to be included ...
0
votes
0answers
20 views

Docker fails to mount volume inside Jenkins scripted pipeline

I'm working on a CI Jenkins build with scripted pipeline. From Jenkins on one machine, I'm connecting with already configured Jenkins slave on another machine (M2). I'm able to successfully execute ...
0
votes
0answers
13 views

Store Docker memory?

Docker daemon allows, use memory storage driver according to image documentation. I want to learn the experience of people who are using Docker daemon for daily business?
0
votes
0answers
15 views

Certbot installation fails inside Docker

What I'm trying to do, to create a Docker container with apt-mirror which also uses Cerbot for Letsencrypt with nginx. There is an image for nginx/certbot but it's based on Alpine Linux (=no ...
0
votes
0answers
8 views

No swap limit support - docker engine

Below command gives a warning of no swap limit support. $ docker info Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 0 Server Version: 18.09.5 Storage Driver: overlay2 Backing Filesystem: ...
1
vote
0answers
10 views

Mounting ssh keys on ephemeral container from a Windows host

I'm working on a container that uses Git to interact with some git repositories. But, to use Git it has to use the SSH keys that are stored on the Windows host machine. I tried two of the ways I could ...
0
votes
0answers
5 views

WebPack 4 command hangs when deploying to GAE (Google App Engine Flexible)

We have a React/Node/WebPack application. We used to deploy it in GAE Flexible for the past 2 years or so. Recently we updated our libraries to React 16, WebPack 4, and Node 10. Since we merged the ...
3
votes
1answer
31 views

Building a CI/CD pipeline on GCP

I have a containerized web application on GitHub and I would like to build a CI/CD pipeline on GCP consisting of a trigger stage, a build stage and a deployment stage and be able to do continuous ...
-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 ...
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
27 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
9 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 ...
2
votes
1answer
28 views

Make container start if docker daemon or host system is restarted

First off, I am new to Docker. I was able to create a container based off an image I had previously pulled, start it, but the container is stopped if the docker daemon or the host system are restarted....
0
votes
1answer
49 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
0answers
23 views

Increase Kubernetes Nginx Ingress limits for large images in Docker registry

When pushing images to a self hosted Docker registry installed using their official helm chart, this works for some images. But for one image, I'm not able to push two layers. Docker retry it several ...
0
votes
2answers
35 views

Host a docker registry native

I want to host my own docker-registry server to be independent from docker-hub. I want to run it native on my server, but I can only find documentations, which are using running it inside a container. ...
-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 ...
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
0answers
20 views

How do i configure my docker services to communicate with one another in a swarm?

I'm trying to fix service-2-service dns inside my swarm. I'm instantiating 3 docker swarm services using the docker remote api. They startup fine, and i can access their content from inside the ...
0
votes
0answers
14 views

Install and configure libreoffice online docker image on ubuntu 16

I have downloaded libre office online docker image from docker hub and type the necessary commands to run it.If I type docker ps I can see container is there.But I want to know how I can get the libre ...
1
vote
0answers
24 views

Docker-compose for tomcat, nginx and node webapp does not connect to backend

I have made a docker-compose.yml file where I use 4 images to create a tomcat backend with postgress database and a frontend website using nginx. The backend exposes a rest-api that the frontend uses ...
0
votes
0answers
10 views

Why can I connect to my docker socket.io server with http but not directly to the socket?

I am following this tutorial on creating a docker/socket.io/aws app. Following the tutorial completely, the app works. However, if I try to access the socket from outside the self hosted client I can ...
0
votes
0answers
3 views

Inspecting UDP GELF traffic with tshark

I am trying to troubleshoot docker container that should send logs to Kibana using GELF log driver. The container is configured with docker-compose.yml below. services: app: ... logging: ...
1
vote
0answers
10 views

How to launch a docker container from within a GitLab Shell runner?

Situation My CI pipeline needs to do the following: log into a VM and have access to a bash terminal run a bash script that launches a Docker container with parameters (e.g. -it mode or providing ...
0
votes
0answers
13 views

Build custom Linux distro ISOs with Docker?

Is it actually possible to use Docker containers as build environments for popular Linux distros like Ubuntu, Debian, CentOS, CoreOS or will be there some limitations? That is, output would be an ...
0
votes
0answers
12 views

Does Docker Swarm have anything comparable to StatefulSets?

Our company uses Docker Swarm and we need to create a task id registry in order to horizontally scale numerous high memory model service replicas across our computer cluster and subsequently control ...
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
0answers
25 views

Restart service in a docker container

I'm building a docker container with a service X. I would like to restart service X programmatically from other micro-service in other container. At the moment, we developed a small Flask app that is ...
0
votes
1answer
21 views

How to keep previous containers on docker-compose up?

I am running a CI/CD pipeline that builds my service and ends with docker-compose up -d which brings up the service with a new docker image tag (my-service:tag1). But when I look at docker ps -a the ...
0
votes
1answer
35 views

What is the parent linux image of golang:1.7

On doing $ docker history --no-trunc golang:1.7 it gives the output: /bin/sh -c #(nop) COPY file:f6191f2c86edc9343569339f101facba47e886e33e29d70da6916ca6b1101a53 in /usr/local/bin/ ...
0
votes
1answer
29 views

Is there a way to map ports two docker container

Let's consider two docker conatiner named app and mysql. I am looking for a way, where I can map app and mysql ports, so that if I try to connect to mysql from web, using localhost:3306 it can connect....
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 ...
1
vote
2answers
28 views

jar file is not displaying in docker container

I have an sbt project and i am creating its Jar using the sbt publishLocal command and i want a docker image for that i am doing something like this FROM hseeberger/scala-sbt:11.0.2_2.12.8_1.2.8 ...
1
vote
1answer
16 views

How to approach dynamic environments per Git feature branch workflow?

Our system consists of 2 frontend applications A and B (both in JavaScript/Angular), 3 backend applications C, D and E (main API and two microservices all in Go) MongoDB as F Our team grows bigger, ...
1
vote
0answers
13 views

Deis Workflow Alternative

We're looking to build an internal Heroku-like PaaS that supports clustering and a DFS. We found Deis Workflow that seems to do exactly what we're looking for, but the project has since been ...
0
votes
1answer
12 views

Docker NGINX issue — unable to edit nginx.conf

I'm having trouble figuring out how to edit nginx.conf inside NGINX open source Docker container. I'm trying to follow the directions here: https://docs.nginx.com/nginx/admin-guide/installing-nginx/...
0
votes
0answers
141 views

helm - cannot get resource “namespaces” in API group

I installed Kubernetes, helm on the Ubuntu 16.04.6 Box, I want to deploy kubernetes-dashboard using helm but getting below error while installing it $ helm install stable/kubernetes-dashboard --name ...
4
votes
1answer
25 views

Pre-install Jenkins plugins using Docker image

If I have a jenkins docker image: FROM jenkins/jenkins:lts is there a way to pre-install certain plugins using the Docker image, for example all the bitbucket plugins: I assume we'd probably have ...
0
votes
2answers
63 views

Docker Node.js Error: Cannot find module

When I start a dockerized Node.js testapp with sudo docker-compose up I get the following error: Starting testapp_web_1 ... done Attaching to testapp_web_1 web_1 | web_1 | > testapp@0.0.1 ...
0
votes
1answer
17 views

How do -dev apk packages differ on Alpine for the purposes of creating docker images?

I recently started a new position at a company that is transitioning over to docker for local and prod, and inherited a few 'base image' repositories for php, node and a few others. Unfortunately the ...
0
votes
0answers
14 views

How does Joyent ContainerPilot stand vs Kubernetes?

We are at the point of laying out a major healthcare interoperability project based on docker. Think of this as hundreds of systems (of the same type, but different versions), sending hundreds of ...
0
votes
0answers
25 views

how to install docker-php-ext-install mssql

I have a legacy query that uses @mssql_connect. $this->_linkIdentifier = @mssql_connect($this->_host, $this->_username, $this->_password); var_dump($this->_linkIdentifier);die(); I ...