Questions tagged [docker]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Are there arguments against using “imagization" tools in the literature and if so, what are the main ones?

Although I never used an "imagization" tool (for example, Docker) I understand a container as an instantiated (running or stopped) image which in plural are simply put, a server environment and ...
1
vote
1answer
12 views

Can I run command from a program thats based on the root host from a containerized application?

I'm in a situation where I have a Django application, Nginx webserver and Postgres database that I want to dockerize, and that's no issue I can do that. But the Django application has code that calls ...
0
votes
0answers
21 views

Application vulnerability scanning purpose built for developers to use in the DevOps pipeline [duplicate]

I was wondering if the developer community would be able to help me answer a couple very quick questions for a grad project (don’t worry, you’d only have to read this and type three numbers and a ...
1
vote
2answers
24 views

Docker preserve images policy

Can I configure Docker in a such way that it will store only certain amount of tags for the given image e.g. docker images REPOSITORY TAG ...
0
votes
1answer
34 views

Does running kubernetes on a single machine make sense?

I have been using docker-compose before but now I am looking for an orchestration tool to handle deployment and management of docker containers. I have only a single Linux server and scaling is not ...
0
votes
0answers
18 views

Problem deploying Docker Container from ECR on EC2 with Ansible

So, This question is tightly related to my previous one, which turned out to be a consequence of a different issue. To ensure every confusion is cleared up, I decided it is better to make a new ...
3
votes
1answer
35 views

How to deploy docker-compose to a remote host

I am new to the docker ecosystem and I am trying to figure out a proper deployment infrastructure for a system I am working on. Imagine a following scenario: a system consists of three microservices ...
0
votes
0answers
16 views

Bind Docker Volume append-only

Is there any possible way to mount an volume (or file of volume) in docker as append only? chattr +a <filename> seems to be ignored by docker containers (--cap-add LINUX_IMMUTABLE to make it ...
1
vote
0answers
34 views

AWS ECS Overwrites Docker Entrypoint Command?

So I've built a docker image locally with packer. When running the image locally, everything is fine. But for my deployment I've uploaded the docker image to the ECR and started it on ECS. However ...
1
vote
0answers
21 views

No Such Host: Kubernetes/Docker cannot pull from private k8 registry

I have a private docker registry in k8 in the default namespace with tls at https://docker-registry.default:5000. By doing local port forwarding to it(at port 5000) and adding docker-registry.default ...
2
votes
0answers
11 views

Spinnaker not showing images in pipeline trigger

I have a Spinnaker pipeline which I am trying to add an automated trigger from an ECR repo. Spinnaker lets me add the docker registry as per the following spinnaker doc link, however I am unable to ...
2
votes
1answer
39 views

How to pin OS package versions in Docker image

Scenario For obvious reasons I believe that every package installed in a Docker image should have their version nailed down. That's why in our Dockerfile we always enforce the OS package manager to ...
1
vote
1answer
18 views

How to develop a docker container for laravel without laradock or docker-compose

I am very new to docker. I want to build a laravel development environment with docker. I already tried laradock but it seemed complicated for me. I was wondering whether it is possible to create a ...
1
vote
0answers
17 views

Allowing all apps/users access to folder - S3FS-FUSE

I'm running an application on AWS EC2 Ubuntu instance, here's what I've done: - I've mounted S3 bucket as folder with s3fs-fuse using this command (unfortunately as root : sudo): sudo s3fs ...
8
votes
1answer
172 views

Automate custom docker image deployment on AWS

This question is related to my previous one - but a bit more descriptive. I am trying to build automate the generation and deployment of a docker container. The docker container is created with packer....
1
vote
0answers
20 views

How can I use multiple docker images within one docker build of packer

I am using hashicorp packer , but I have one confusion . How can I use multiple docker images within one docker build json file of packer . In my build project if I need to use different docker ...
1
vote
2answers
37 views

Find most popular images with `zip` and `git` on Docker Hub

To speed up builds, I'd like to avoid install tools that I need on every commit with apt-get update -y && apt-get install -y git zip. Normal way is to create custom build image, register at ...
0
votes
2answers
44 views

AWS ECR start uploaded docker image?

I used packer to upload a docker image I created to my AWS ECR repository. How can I use the AWS cli to automatically locate that image, create a new cluster, set the port rules to allow all inbound ...
0
votes
1answer
63 views

No Kubernetes Option in Docker Desktop for Windows

Just getting started on Docker and after installing Docker Desktop on a Windows 10 Pro machine, the option to enable Kubernetes is missing from the context menu when using Windows containers. See the ...
3
votes
1answer
57 views

What about installing an Antivirus on Windows K8s nodes?

We're building an on-premise Kubernetes cluster with Windows nodes. As a company policy, all Windows Servers needs an antivirus (symantec endpoint security). The antivirus would be installed on the ...
2
votes
1answer
33 views

Is it a bad idea to use a web app including nginx, gunicorn and flask in a single docker container? [duplicate]

I want to deploy a web app as a docker container. Currently I need to set up nginx, gunicorn and flask to realize this. There are many guides around to do it in docker but always divide it in two ...
1
vote
3answers
30 views

Jenkins Pipeline Docker Agents with official Jenkins Docker image

I'm using the official jenkins:lts image to host a Jenkins instance, with the Docker control socket forwarded inside the container to allow Jenkins to start new containers, and now I'm trying to run a ...
1
vote
1answer
19 views

Legacy build environment in Docker container, incompatible with Jenkins agent

I have a working Dockerfile that creates a build environment for a legacy app, and now I'd like to use that environment from Jenkins, ideally allowing for incremental builds. The environment is too ...
0
votes
0answers
8 views

Configuring Docker containers running Jira to communicate with one another over multicast

I am working on building out an Atlassian Jira Data Center deployment using Docker containers (provided by Atlassian) and running on ECS. My current challenge is that Jira uses Ehcache to sync ...
1
vote
1answer
64 views

Updating software in a docker container

I'm new to this community, so feel free to tell me if this is a dup or belongs in another SE. I am new to docker, and it's a really cool concept, but I'm struggling with the idea of packaging an app ...
1
vote
0answers
24 views

Difference between linux/arm/v7 and linux/arm architectures on Docker

Looking at docker images on dockerhub under the official arm32v7 user, I noticed that there were some inconsistencies. Some image OS/Architectures show up as linux/arm, and others show up as linux/arm/...
2
votes
1answer
29 views

Is it reliable to use Docker's hash as a mean to determine image's version between different platform

Situation I have a docker image on a Linux box. I push it onto a docker registry (AWS ECR). Then, I use the image pushed onto that docker registry in a K8s pod. Question How do I know the docker ...
2
votes
1answer
45 views

Why container can use ifconfig to get the host information?

Today I pull an image from the Internet, and I found that the docker networking mode can be detected in the image's startup script. But docker0 only exists in the host not the container. Why? ...
1
vote
1answer
113 views

Internal Server Error while running docker-compose to install Gitlab

I'm installing Gitlab on my server using docker-compose based on Docker Docs. My SSH port is not the default one (22) and I have changed it to something else like 2228. So the YML file became like ...
0
votes
1answer
26 views

How to connect to postgres container from a node container using docker-compose?

I'm trying to connect from a node app container to a postgresql container using docker-compose but I'm not able to do it. This is my docker-compose.yml file: version: '3.7' services: db: image: ...
0
votes
1answer
47 views

Using 32 bit for savings

What are the downsides for CI servers to use 32 bit Docker images? For example, using FROM i386/python:3.6.9-alpine3.9 instead of python:3.6.9-alpine3.9 in Dockerfile. python:3.6.9-alpine3.9 (32 bit,...
0
votes
1answer
36 views

How can I access directories inside a docker container from outside (not the reverse!)?

I am trying to setup plug-and-play docker images for my development and support team members - however I am running into some problems because I want them to be able to use the editor of their choice! ...
0
votes
1answer
31 views

How to get the elastic stack-docker running on a laptop?

https://github.com/elastic/stack-docker Running docker-compose -f setup.yml up resulted in: Creating network "stack-docker_default" with the default driver Pulling setup (docker/compose:1.21.2)... 1....
1
vote
1answer
18 views

Having some trouble getting service running with Docker and Terraform

I'm very new to DevOps but I'm trying to learn some of it a bit. I'm working with Terraform, trying to get a service to run on AWS using Fargate and Docker. I've successfully set up my ECR ...
8
votes
7answers
2k views

Is there one website that contains all relevant DevOps news and gets updated on a daily basis?

I am looking for some DevOps news channel like https://nos.nl/teletekst#101 that shows the headlines of the Dutch news. I am aware of https://tweakers.net/ and github.com, but this does not contain ...
3
votes
2answers
78 views

How to run a CMD in a docker container that was created using Packer?

So I am creating a docker image with packer. The template defines the provisioners and builders etc. The builder section looks like this: { "builders": [ { "type": "docker", ...
1
vote
2answers
33 views

Pulling windows base images fails

I tried pulling the windows/nanoserver image. After that failed I looked around and found this site Every one of them fails with the same error message #docker pull mcr.microsoft.com/windows/...
0
votes
0answers
11 views

docker-compose volumes issues with Docker Toolbox on Windows 10

I'm using Docker Toolbox on Windows 10 and have enabled Shared Folders settings with the correct custom paths in VirtualBox where the project is located: I have set up Dockerfile and docker-compose....
1
vote
1answer
58 views

ERROR: Unable to read database state: No such file or directory

I was trying to install Photon by pulling the docker image. But when I run docker build -t photon . I am getting the below error. ---> Running in 3076fb42ef8b ERROR: Unable to read database state:...
0
votes
1answer
13 views

docker container does not open port for php:latest

I'm working with Docker containers for a while know, but I do not notice, what I am doing wrong here: In my current folder on the host system, I have a simple index.php file which contains: <?php ...
0
votes
2answers
26 views

Configure Kubernetes with docker container on Ubuntu VM

I am using the YAML file to deploy the container on Kubernetes with some replication factor on a hosted machine. YAML File apiVersion: apps/v1 kind: Deployment metadata: name: mojo-deployment ...
2
votes
1answer
28 views

Is web delivery for Node.js apps a thing?

A browser fetches some HTML via HTTP/HTTPS or a file, which may result in fetching a bunch of other resources, including some JavaScript, and then it runs it in a browser environment. I would ...
0
votes
1answer
26 views

Build Docker Images with Ansible + Vagrant

So I am working on a research project and I am trying to automatically generate specific environments on different virtualization techniques. So, first I made a Vagrantfile that pulls an Ubuntu ...
0
votes
1answer
26 views

How to find the PHP version that is used by the latest `phpdoc/phpdoc` docker image?

How do I get php version used by docker image phpdoc/phpdoc?
0
votes
1answer
68 views

Unable to get Helm to work with ECR

I'm using Helm v3 with AWS ECR on a Kubernetes cluster that was creating using Kops. I have checked and the role kops assigned to the nodes does have ECR permissions. When I deploy my helm chart I ...
0
votes
1answer
22 views

Dev environment for legacy Visual Studio code?

I work at a small company that has several legacy projects that all require different versions of visual studio to run. The company has servers on site and I have a small cloud budget. I want to set ...
1
vote
2answers
74 views

Jenkins and docker login issue

I am trying to create a Jenkins pipeline that will pull a public image from docker hub and build a Vue.js application inside that container. In my Jenkins server I already have other pipelines that ...
2
votes
3answers
70 views

How to get the next friendly name that Docker will assign to the container it will make?

Background When you start a Docker container as in the following example: $ docker run -ti ubuntu:latest Docker docker automatically assigns the container an ID and a friendly name. Docker ...
6
votes
1answer
91 views

What are the implications for Docker Community Edition of the Docker acquisition by Mirantis?

November 13, 2019, Mirantis Acquires Docker Enterprise Platform Business. The same day, Docker Inc. claims they will now focus on docker Desktop and Docker Hub. Given those changes, will Docker CE ...
2
votes
1answer
32 views

Docker swarm container monitoring

I have been on a typical journey of: deploying software on a machine deploying software in a container deploying software using docker swarm The need for this journey is that swarm removes a large ...