Questions tagged [docker]

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

192 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
71 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
1answer
27 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
25 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
20 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 ...
0
votes
0answers
19 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
4 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: ...
0
votes
0answers
14 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
23 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
18 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
30 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
38 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
655 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 ...
0
votes
0answers
17 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
56 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 ...
0
votes
0answers
35 views

Docker Hub Build triggers with POST URL

Docker Hub used to have a nice system for build triggers with a URL which would be called with curl using POST and a bit of json. Their new setup also has 'Build triggers' which offers to 'Trigger ...
0
votes
0answers
55 views

Container unable to connect to external Oracle DB only on specific host!

I have built an image based on the corporate JDK image for our Java application, which needs to connect to Oracle DB. I deployed it using docker stack on TWO other servers in another availability ...
0
votes
1answer
162 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
0answers
21 views

Environment variables inside the container during use “exec”

I want to run a command outside the container through "exec", which would be executed respectively inside the container. The command runs cmake, which uses environment variables that are already ...
0
votes
1answer
487 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
0answers
27 views

Where to get the --generic-ssh-key for the docker-machine create --driver generic command?

I've created a docker-machine on AWS EC2 using: $ docker-machine create --driver amazonec2 aws01 in the terminal of my Ubuntu desktop computer. Now I want to reconnect/reattach myself to this ...
0
votes
1answer
64 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
0answers
41 views

Building ASP.NET core app with dockerfile in Jenkins

I have a GitHub Enterprise repository which contains an ASP.NET Core WebAPI sample project with just ValueController. I also have access to Jenkins instance most probably running on Docker somewhere ...
0
votes
0answers
18 views

Can I contact another service during the build phase of docker-compose?

I have a web application image (web) and a database image (db) that needs to be run using docker-compose. Since my web app needs a content management system to be installed as well, I would like to ...
0
votes
0answers
38 views

Trying to install MySQL on Docker

I have the weirdest case I have ever seen. It's my first time trying Docker and I know some stuff I do are not the best patterns but basically I'm trying to create a Docker container that contains all ...
0
votes
0answers
81 views

Can I configure a swarm node to automatically pull latest images and restart containers?

Right now I'm using Docker Compose to host 15-20 services for my home lab. All of these are running on a single machine which is physically in my house. I have no interest in scalability (i.e. ...
0
votes
0answers
11 views

Possible to preferably route incoming traffic to local task(s)/container(s) on worker in a swarm cluster?

I know the mesh networking and ingress load balancing is a great thing about swarm, but I was wondering if there a possibility that when a swarm worker receive a request, it always forwards it ...
0
votes
0answers
23 views

POST larger than 400 Kilobytes payload to a container in Kubernetes fails

I'm using EKS (Kubernetes) in AWS and I have problems with posting a payload at around 400 Kilobytes to any web server that runs in a container in that Kubernetes. I hit some kind of limit but it's ...
0
votes
1answer
25 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
0answers
50 views

App engine Flexible environment - Readiness check not working properly

I am deploying a django application to Google Cloud App engine flexible environment due to the need of a third party non-python library. However, I have trouble starting it properly. If I just choose ...
0
votes
0answers
151 views

Using application config file kubernetes configmap for mongodb failed when pod is deployed

Using helm to create my own chart to deploy an instance of mongodb on kubernetes cluster, I am using a custom configmap for having my own mongo configuration. My config map is looking like this: {{- ...
0
votes
0answers
30 views

Can't access docker container from outside

I'm trying to connect to a container in a CentOS machine and after searching for a solution on the internet, I still can't do it. In fact, I have two CentOS machines and on both I have the same ...
0
votes
1answer
38 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
0answers
19 views

Can't reach by REST API one site from another which are both on the same docker container

I have a docker that works through docker-compose.yml On one container there is an Nginx and several virtualhosts on it with sites I'm trying to get to one site from another by REST API When I make ...
0
votes
0answers
28 views

Remote Maven build server

Is there any way how to remotely build maven projects. I want to use remote maven container for this, but the problem is with caching of the downloaded dependencies (as it is not always easy to ...
0
votes
0answers
20 views

Docker disk space required using over 100 gigs

I currently followed a tutorial to install Docker on an external drive and it quickly sucked up a bunch of the disk space. I'm running over 100 gigs for docker. It seems to be an exaggerated about ...
0
votes
1answer
99 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
0answers
32 views

Regarding changing IP address configured in xml files of JENKINS_HOME directory based on container IP address

I have jenkins installed and running in a remote machine. Planned to move this complete setup to container environment, so took the complete backup of JENKINS_HOME directory of the remote machine to ...
0
votes
0answers
27 views

Interface from systemd-machined.service to container and VM managers

machinectl(1) states the following: systemd-machined.service(8) also interfaces with a variety of other container and VM managers, systemd-nspawn is just one implementation of it. What are the ...
0
votes
1answer
64 views

Maintaining Jenkins configuration with docker

I'm trying to configure CI with Jenkins for my private project. Problem: whenever I start building a pipeline project, it gives me ,,Docker is not found'' error whenever I try to work around this by ...
0
votes
2answers
98 views

How to run multiple containers with port expose

I have 2 images on my docker toolbox, for jenkins and for artifactory. I can use the command "run" for each to create a running container, jenkins on port 8080 and artifactory on oprt 8081, using the -...
0
votes
0answers
13 views

Is K8S dashboard recommended for production ready server?

I saw many tutorials show how to setup k8s dashboard UI for development which will be access from localhost. Can it be used for production server too? If yes, how to setup it on production master ...
0
votes
1answer
2k views

Using volumes on AWS fargate

I am new to fargate and even dockers. But I have used dockers for a couple of months. Only now, I am using fargate. I create a particular docker instance as follows: docker run -v localHostFolder/...
0
votes
1answer
424 views

Very slow network when serve container content via Nginx after published Docker port

What I have created is: I have a Docker container that is published the port "3000:3000". If I'm accessing the container in this way: http://example.com:3000 everything is working great. The ...
0
votes
0answers
69 views

Golang, Jenkins and Kuberentes | Readiness probe failed on health check

I'm trying to deploy my buffalo golang app to Kubernetes over Jenkins. When I deploy the app it passes all phase but the pod isn't ready. I get the following error when I describe the pod: ...
0
votes
1answer
73 views

Install MDB2 in docker container while PEAR is down

While pear is down, the following instruction in my dockerfile is failing: RUN pear install -o --alldeps MDB2-beta && \ I've searched on the internet how to install MDB2 without pear, ...
0
votes
2answers
662 views

Jenkins Dockerfile declarative pipelines: getting the built image tag

I'm trying to get the image tag generated with the help of the dockerfile agent in Jenkins declarative pipelines. This Jenkinsfile is incomplete though, because I still need the deployment steps. ...
0
votes
0answers
55 views

How to build docker image from git repository with root context and Dockerfile inside a subdirectory

In the docker documentation one can see that it is possible to build an image from git repository. It is even possible to make a build from the selected branch and directory. I have a repository with ...
0
votes
1answer
80 views

PHP-FPM with Nginx in different containers (share init.d response between)

I have a Docker setup for my project with PHP-FPM, Nginx and many other services required by the application, but inside the PHP app I've to check the init.d/nginx configtest for new dynamic Vhosts (...
0
votes
1answer
90 views

Docker machine connection with https

I am new to Docker .I am install docker tool box on my window machine . Using pom.xml i want to generate docker image . pom.xml:- <plugin> <groupId>com.spotify</groupId> <...