Stack Exchange Network

Stack Exchange network consists of 174 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
7 views

Accessing container by domain name

hey guys I have a docker container A with a domain name attached to it on a host B with a domain name attached to it as well.....how can I access the said container A via A's domain name rather than ...
2
votes
1answer
27 views

How to explicitly kill the process with PID 1 from inside a container?

For demonstration purposes, I would like to kill the process with PID 1 from inside a container. But apparently, kill 1 doesn't work: $ sudo docker run -it centos [root@3752d3a44f10 /]# ps PID TTY ...
6
votes
1answer
49 views

How to know where a docker image come from?

I have a docker image on my system 12346789ABCD. Is there a way to know where it is coming from? Specifically, I would like to know if it was built locally or downloaded from a repository, and in ...
-3
votes
0answers
19 views

Docker containers takes too much time to process tasks

I am using 3 containers as microservices and RabbitMQ for communication b/w them. I am using azure VMs for running the container. The machine has 64 GB ram and 32 cores. The architecture is given ...
1
vote
1answer
29 views

Proper way to showcase multi-container web app to customers

I have a web app consisting of multiple services (authentication service, database, main web app..), and each of these services can run in container. Currently, when a customer ask for a demo, I am ...
2
votes
1answer
24 views

Import tarball as next revision

Some background: I've got an existing build system that creates (among other things) container images. Due to the nature of their contents, they are suitable for running on practically any ...
0
votes
2answers
42 views

Should I run several applications in Docker in a single server?

I have a server,32Gb ram, i7 processor and 2TB hard disk, with Docker engine running in it. I have like 100 development application to be migrated to this docker server. So is it a good practice to ...
4
votes
0answers
27 views

What do we know about how open source software becomes eligible for the Docker Hub library?

Official community distros of well established open source software can be found in Docker Hub at the "special" place, the library, explicitely tagged as "official". https://hub.docker.com/u/library/ ...
1
vote
1answer
16 views

ECS auto deploy with ECR

I'm using github, jenkins, aws ECR, aws ECS. I want to deploy automatically when github have new commit. When github have new commit, github sends a event webhook to jenkins, jenkins builds the ...
1
vote
0answers
23 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 ...
2
votes
1answer
43 views

What is the best way to put on a repository for a docker image with multiple tags?

I've seen a lot of repositories with Docker images and I think (correct me if my guessing is wrong) that the projects that handle a docker image with multiple tags can be grouped into three groups: ...
2
votes
0answers
35 views

How to deploy large web app in container minimal data transfer?

In current deployment of a web app we are using svn to deploy a specific revision from a repository. The amount of data transferred is just the diff between the currently deployed revision and the ...
0
votes
1answer
14 views

Can a 5 US $ VPSE support VAD stack with 2 relatively-small CMSs?

I'm new to DevOps and quite troubled financially but I desire to put websites that I now host on a shared server environment (CetnOS 12.x.x) on some cloud like DigitalOcean or Lindoe (but without ...
0
votes
0answers
12 views

Retaining temporary job side containers with GitLab runner

If you run a specific GitLab runner (i.e. a CI build agent) as a Docker container, it would spawn temporary side containers and remove them after job exits. Is there a way to tell the runner to ...
0
votes
0answers
11 views

How to filter the ingress traffic to a docker container by changing IPtables in docker host machine

There is an apache server is started in a docker container and it acquires following IP address 172.21.0.3 The gateway IP and prefixlen is as follows 172.21.0.1/16 and the virtual interface attached ...
1
vote
1answer
17 views

phpMyAdmin using dockerised database

I have installed mariadb inside docker container, and mariadb is running properly inside that container. I want to get access of mariadb through phpMyAdmin from outside docker container. What will I ...
0
votes
0answers
12 views

Why do `docker info` and `docker df` show different amounts?

I’m using Docker with Amazon ECS, using Amazon’s default AMI. The Docker version is 18.06.1-ce The docker daemon is crashing, I think because it’s running out of thin pool space. When I run docker ...
-2
votes
0answers
30 views

How should I run a daemon in docker?

Normally, when you want docker to run a program, you put it as cmd ["filetorun"]. And you can start docker in such a way that it will restart whenever the program crashes. The thing is that this only ...
0
votes
1answer
21 views

VAD (Vagrant-Ansible-Docker) stack for Ubuntu and Apache

I'm having trouble establishing a Ubuntu-LAMP environment with continuous integration - I feel lost from the different solutions out there and time and again I fear that my vanilla-Bash Ubuntu-LAMP ...
2
votes
1answer
73 views

Automating the creation of an Apache virtual-host file specifically

When I create new web applications on my up-2-date Ubuntu-LAMP with Apache 2.4.x environment, I create their virtual-host files this way: s_a="/etc/apache2/sites-available/" s_e="/etc/apache2/sites-...
0
votes
0answers
18 views

Zabbix on docker containers

I want to build highly available Zabbix service for my infrastructure. I am considering it on VMs or in containers. I already know the case of running Zabbix in VM, yet I am not aware of pros, and ...
0
votes
2answers
15 views

Should we build our application inside a docker container, or copy it in?

I am dockerizing our applications to have the environments recreatable. As a process of dockerizing, we will be required to do the below steps: Build the application. Prepare the environment as the ...
0
votes
1answer
16 views

Reg uploading additional files in docker hub

Is there any possibilities in keeping additional files in the docker hub account along with docker images. There is description page, but I want to maintain additional files for each image I planning ...
0
votes
1answer
23 views

packge.json not found while executing on Jenkins

My Dockerfile looks something like this. FROM mhart/alpine-node:8.11.3 RUN mkdir -p /app COPY ./ /app WORKDIR /app/build RUN yarn global add serve CMD ["serve", "-l", "3000"] EXPOSE 3000 And ...
0
votes
0answers
13 views

Docker for Win10 + Linux Containers + tmpfs

I've been using WSL as a GNU/Linux development and test environment for a couple months (love it), but I have just run into my first major snag while playing with nuster and seeing much slower than ...
4
votes
1answer
97 views

How does Vagrant differ from Ansible and Docker?

I understand that Ansible is a Configuration Management (CM) tool for orchestrating, deploying (and continuously upgrading) software and conf via a special YAML format created for that software, and ...
0
votes
0answers
12 views

Is there a way to use Python library, pyjulia and Julia library PyCall (which inter-operate with each-other) using two containers rather than one?

I would like to base base off of the official language Dockerhub images of Julia and Python. The libraries of interest are Python library pyjulia and Julia library PyCall. I know I could install both ...
-1
votes
1answer
21 views

zip: command not found after installing zip on NODE docker image, even after installing p7zip?

I'm trying to zip my dist folder and post to it Azure's kudu zipdeploy endpoint but I keep getting this error regardless of the fact that I have installed a zipping package myself. My docker image: ...
2
votes
0answers
36 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 ...
1
vote
1answer
35 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
20 views

How can I diagnose php cli command execution time inside a docker container

I've recently migrated an event subscription service called by a bash script from Ubuntu, into a Dockerised container. The Docker image I am using is: FROM php:7.1-apache The script itself is pretty ...
3
votes
1answer
56 views

Error while following Docker get-started part 3

I am learning Docker by following the get started on its official page. I got stuck at part 3 when I tried to run docker service ps getstartedlab_web the containers fail to start. Checking the ...
5
votes
2answers
27 views

Multi-container server of PHP apps with reverse proxy?

I am going to deploy my app to production on VPS server, using Docker. My goal is stable version from latest tag at example.com, and dev version from dev tag at dev.example.com. Because this is an ...
3
votes
1answer
36 views

How to run Dockerized graphical applications on a headless server with packages required for display remotely on clients as part of a separate image?

In this first section I detail some of the terms I have used: Dockerized graphical applications: A Docker container run from a Docker image which runs an application which (traditionally) uses x11 (...
-1
votes
1answer
16 views

Where can I find a Dockerfile + required files to create a Flask/MySQL forum/webapp with users?

What I mean, is that I can simply run a command or download a .zip file that results in having a Dockerfile with the whole development environment baked in and includes not just Flask and MySQL set up,...
0
votes
0answers
69 views

How can I configure logstash-input-s3 in Dockerfile

I installed https://hub.docker.com/r/sebp/elk/ then looked at Installing Logstash plugins. I modified the example to install logstash-input-s3: FROM sebp/elk WORKDIR ${LOGSTASH_HOME} RUN gosu ...
3
votes
2answers
25 views

Cross region replication of Redis Docker container data

I am looking for some help with figuring out a way to take a Redis Docker image and then do near real time replication of the data to another server maybe over an SSH tunnnel. I need this to be able ...
0
votes
0answers
35 views

Docker windows server core images not available

I am running docker community edition on my Windows machine. It is windows 10 professional. I am trying to pull docker image for windows server 2016 using the following command: docker pull microsoft/...
0
votes
0answers
24 views

How to enable CORS in Geoserver on Docker?

I want to enable CORS in Geoserver (installed with Tomcat 8). The goal is to access Geoserver maps from Kibana. I made some changes in tomcat/conf/web.xml. But it only works when I install Geoserver + ...
5
votes
1answer
58 views

How to create high availability databases?

With modern techniques, it's relatively trivial to create a clustered, high-availability solution for webservers by using docker (or comparable) to handle the front-end serving of pages to users. e.g....
0
votes
1answer
37 views

How can I use Docker Hub in Terraform?

The instructions in Terraform Docker Provider give the example: # Configure the Docker provider provider "docker" { host = "tcp://127.0.0.1:2376/" } # Create a container resource "docker_container"...
0
votes
0answers
39 views

Docker compose curl healthcheck on official nginx image not working

We have the following DockerFile FROM nginx RUN apt-get update && apt-get install -y curl \ && rm -rf /var/lib/apt/lists/* COPY nginx.conf /etc/nginx/nginx.conf EXPOSE 443 WORKDIR /...
2
votes
1answer
50 views

How to pull all alternative tags of a Docker image?

I administer a GitLab instance with a build pipeline. All components are encapsulated in Docker images from the official GitLab maintainer. Whenever I update - usually once a week - I need to check ...
1
vote
1answer
28 views

Using Red Hat Docker image as base image

I am considering using https://access.redhat.com/containers/#/registry.access.redhat.com/rhel7 as a base image for my Dockerfile instead of getting some random image in DockerHub. The main reason is ...
1
vote
1answer
22 views

Why am I unable to push docker image in gce (gcr.io)?

I created a new VM instance on my GCE compute engine (I have Owner permissions). On that instance, I installed git, docker, and gcloud - everything is done under sudo su. I was hoping I can use that ...
0
votes
0answers
12 views

Pushing Docker application logs to Logentries

I see here some official docs for how to push a Docker container's logs to logentries. However, it is unclear whether this pushes application logs, or system logs internal to Docker. And if it does ...
0
votes
0answers
24 views

Using Composer when php-fpm and Nginx is in separate Docker containers

I'm setting up a pipeline for CI, and I have read about pros and cons of having php and Nginx in separate containers. Personally I like how tidy and maintainable it is when its separated, combined ...
0
votes
0answers
13 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
2answers
198 views

How can I force Docker Compose to rebuild containers when dockerfile changes?

I am using docker-compose to start 2 containers using the following docker-compose.yaml. version: '2.4' services: myservice1: container_name: mycontainername build: context: . ...
0
votes
1answer
19 views

How does someone share a drive to be available for my containers?

I have been trying to setup my ASP.Net Core project with docker support, but it seems like I am failing to share my C:\ drive? Following that link I have encountered these documentations stating that ...