Questions tagged [docker]

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

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

What is the best host solution for a medium starter aplication nowadays?

I'm am deploying an application that can be split into a dashboard with some control systems and an API. The system was developed to be an web interface for some scripts and bots used by a community ...
1
vote
1answer
11 views

How can I get the Docker target platform inside the Build Environment / Dockerfile

I'm doing multi-platform builds with buildx and would like to know if there is a way to determine what platform is currently being build so I can avoid certain steps for certain environments. For ...
0
votes
1answer
9 views

Does RAM Come Into The Container vs VM Decision?

I am currently running a Java trading system on a VM that needs ~32 GB RAM and runs (almost) 24/7. There are a couple of engines linked to it that require 4GB + 8BG respectively. I am considering ...
1
vote
0answers
12 views

Docker image, containers and layers

I want to use docker to compile a custom PHP executable. I plan to use alpine as a base image, installing the required tools (build-essentials, etc). The goal is to have the most minimalist resulting ...
0
votes
1answer
9 views

Update volume size dynamically from inside a POD

I was wondering how I could dynamically create and then mount new volumes from inside a pod ? At runtime ! I have to download a lot of files with very different sizes and would like the storage to ...
1
vote
1answer
18 views

Docker Build Ending Up `returned a non-zero code: 1`

Running mktexlsr /var/lib/texmf ... done. Building format(s) --all. This may take some time... done. build.sh: line 81: -: No such file or directory The command '/bin/sh -c bash build.sh' ...
0
votes
0answers
7 views

How I can cache the built layers on docker build using travis.ci?

In my project I use the following .travis.yml language: shell os: linux dist: xenial git: depth: false services: - docker env: global: - LATEST=39 - LATEST_LTS=39 jobs: - "...
0
votes
1answer
40 views

Can I move SSL certificate files from one server to another for the same domain?

I have a website running at https://domain.com and IP a.a.a.a, with an SSL cert issued by GoDaddy. The server is deployed with Nginx. Everything is working fine as it is. However I'm trying to deploy ...
0
votes
0answers
10 views

Issue in copying files from base image to second image multistage

I am using multistage to reduce size of docker image and size of second image is reduced but when I try to run docker container from second image, I am retrieving no module found cv2. How would I ...
0
votes
0answers
6 views

Test Kerberos, SQL Server running on Docker on local MAC

I have SQL Server running on docker and did the setup using the following : https://www.quackit.com/sql_server/mac/install_sql_server_on_a_mac.cfm Then I setup Kerberos on local using the following : ...
0
votes
2answers
26 views

Can I use docker compose to run application container and its dependencies on google cloud or digital ocean, the same as locally?

I have a spring boot application, angular front end app, couchbase, and redis. They are all defined in a docker compose yaml file. I can make the application up and running locally. Is there a way to ...
0
votes
1answer
14 views

docker mariadb access from remote

I created a docker container with docker-compose in my VPS and I want to access it from my local computer but the connection will refuse. also, I allowed the 3306 port in the VPS. my docker-compose....
0
votes
0answers
21 views

How can I enter node commands (like “node -v” or “npm intall xyz --save-dev”) in the running docker container?

I'm new to docker. How can I start a node service via docker-compose, which then accepts npm commands? docker-compose up -d --build <-- I use this command to start I want the npm install to be ...
1
vote
1answer
23 views

Ansible hosts group reference does not work

I'm trying for hours already to run a docker installation on a specific group of hosts. This is my hosts.yml all: hosts: 01-dev: ansible_host: <IP1> 02-dev: ansible_host: &...
0
votes
1answer
21 views

Confluence mySQL image doesn't start anymore

I am running a confluence container containing an image for the application itself and one for the mySQL db. This was running smoothly until I run the latest Docker update. Since then, the mySQL image ...
3
votes
1answer
35 views

Deply method for python project

I have made a web application in django. Currently I'm deploying by SSH'ing into my ubuntu instance at AWS and using git pull. However I know this isn't a very scaleable solution but I have very ...
1
vote
2answers
62 views

Where may I need Docker Compose as Kubernetes won the container orchestration war?

I found Docker Compose just release 1.28 on 2021-1-20 but as Kubernetes won the container orchestration war I am not sure where and why I may still need Docker Compose, under with case Docker Compose ...
0
votes
1answer
33 views

Docker container can't reach host services

I am running a nodejs app in a docker (v 20.10.2) container on a Ubuntu 20.04 LTS (this is for dev purpose only) My docker-compose config test: container_name: forge_test restart: always ...
0
votes
0answers
22 views

Docker images of multiple apps

We have applications App1, App2(bootjar) which are docker images present in nexus repository. Now we have another application App3. App3 docker image need to be layered on top of App1 and App2. How ...
0
votes
0answers
18 views

Slow Socket IO response when using Docker

I have a Web App built in Flask where tweets are captured (using Tweepy library) and displayed on the front-end. I used Socket IO to display the tweets live on the front-end. My code works fine when I ...
0
votes
3answers
61 views

Is SSL/HTTPS Needed Between Docker Containers on the Same Network?

As the title of the questions asks, is it important/needed to have ssl/https working between docker containers on the same network? Our setup is an Nginx container that proxies two Tomcat containers. ...
2
votes
0answers
23 views

How to run a container from within another container while also mounting a volume from the first container?

I'm running a build in Jenkins which is running inside Kubernetes. When the job starts, a container starts in the cluster and the build runs inside it. A step in the build requires building an RPM ...
1
vote
1answer
23 views

How to find future (planned) versions of Docker?

I need to know a rough release date for the next Docker version(s) or the version scheme they are using for their releases (like "a new version every 3 months" or similar). So I can plan ...
1
vote
1answer
20 views

How can I find the version of Docker I am using?

As the title says, how can one find Docker's version?
0
votes
0answers
14 views

Can I deploy Couchbase docker dependency in GKE?

I have a simple spring boot application which is wrapped into a Docker image along with its dependencies such as "Couchbase". I have pushed the docker image successfully to google cloud ...
0
votes
1answer
21 views

How to redirect the request to a different node when there is an unexpected exception and one of the pods gets restarted

We are deploying the application in a Kubernetes cluster and when we face an unexpected error and the pod gets restarted or goes down we are getting a 502 Gateway error even though there is another ...
0
votes
2answers
65 views

Cant ssh into running container containing portainer through docker exec

I cant connect to my running container with portainer. I tried already executing docker exec -it <CONTAINER-ID> /bin/bash. Also changed the shell path many times (/bin/sh, /usr/bin/sh, bash). ...
0
votes
0answers
47 views

Using Sonatype Nexus docker proxy

I have a Sonatype Nexus deployed under repository.company.com (it's behind an nginx proxy). I created a docker registry and docker proxy and added them to one docker group "company-docker-group&...
0
votes
0answers
6 views

Docker cap_dac_override capability security hasard

I have read cap_dac_override is enabled my default on docker. This capability allows a container to write files on the host. But i do not understand if this writing capability only applies on mounted ...
0
votes
1answer
56 views

Isolate service networks with Docker Compose

I have two containerised services, A and B, with which I wish to isolate network communications with docker compose. There is also a shared service C which is not isolated from A or B and is free to ...
0
votes
1answer
40 views

CORS in Docker Engine REST Api

I have activated my Docker Engine V1.41 REST API in docker with this artcile: https://blog.usejournal.com/how-to-enable-docker-remote-api-on-docker-host-7b73bd3278c6 After that in my browser it works ...
1
vote
1answer
14 views

Is it possible to containerize using docker without a local setup?

I have a Windows machine and I am just starting to learn docker. I have gone through the internet that the best way to start is by installing docker-desktop. Is there a way i can use docker remotely ...
2
votes
1answer
52 views

Dockerize a windows GUI application

Is it possible to run a Windows GUI executable (notepad.exe for example) into a container ? I want to do this because i do not trust some software i install on my personal computer and i want to be ...
1
vote
1answer
41 views

How to connect to a kubernetes cluster that is inside of a docker container?

For CICD purposes, I need to run a docker container and then create a kubernetes cluster inside of it using kind. Here is my Dockerfile: FROM ubuntu:18.04 RUN apt-get update RUN apt-get install curl -...
-1
votes
1answer
30 views

Cannot resolve services with service name inside a kubernetes pod

I cannot access a pod from another pod with its service name. Getting error as cannot resolve host svcname When i try to view the information of /etc/resolv.conf, i do see ec2.internal as searches ...
0
votes
0answers
9 views

qliksense - connection to remote server

I have a remote server with qliksense. I want to get connect to that server so I could receive json data from it. The connection should be done using javascript. connecting to qliksense desktop on ...
1
vote
1answer
16 views

Retrieve files deleted after Docker service rm

I had to, so I removed a service with docker service rm but I forgot to get the log files of the service. Now I am not able to find those. Can anyone help me or suggest to me if and how can I get ...
0
votes
1answer
42 views

How to install curl in conjunction with --no-install-recommends in Debian correctly?

I am building a Docker image based on debian:buster-slim and installing cUrl in this image. According to the recommendations made by Hadolint, I install all packages via apt-get with the option --no-...
0
votes
1answer
21 views

Group authentication in kubernetes

I am trying to implement group based authentication in k8s with RBAC. My requirement is as below: There is a linux group named "readonly". There are 3 users reader1, reader2 and reader3 in ...
0
votes
1answer
24 views

is a secrets-provider-container a good idea?

I am looking for a way to provide secrets to a container running on Google Cloud Run responding to the following criteria: secure centralized & pulled based free simple working with a team, with ...
0
votes
0answers
23 views

Deploy and expose Mysql in AWS Lightsail container service

AWS Lightsail container service allows exposing the container only if it has an HTTP / HTTPS port open with the proper responses to healthcheck. I'm trying to run a MySQL container from the docker hub ...
2
votes
1answer
61 views

Where are Docker containers stored on disk?

I'm learning about Docker. I feel stuck at the moment, I think that I have some wrong concepts about how Docker works, and that shadows how it actually works, but I can't really locate the problem. I ...
4
votes
1answer
45 views

Change docker container’s log PATH

Team: All my container logs are under /var/log/containers.. Where in kubelet or docker config can I specify this path such that logs are instead created under new path? Ex : /shared ? Instead of /var/...
0
votes
0answers
49 views

Multi-platform autobuild on Docker Hub - errors with linux/arm64

I try to make autobuild on Docker Hub from my repo on Github for two platforms (linux/arm64 and linux/amd64). I figured out, that I need directory hooks with file build, where I can overwrite default ...
0
votes
0answers
37 views

Why are my Alpine Docker images failing to build with postgresql-dev randomly with 'BAD signature' warnings?

I am trying to build a Docker image based on the Evennia image, which has an Alpine base. However, I need to install postgresql-dev so that my image can interact with a Postgres container. I am ...
1
vote
1answer
82 views

WordPress Site Health errors when using Docker and Nginx

I am trying to setup a production environment for multiple WordPress sites using Docker, Nginx reverse proxy, and Let's Encrypt. I have 3 containers for the proxy group using the jwilder/docker-gen, ...
0
votes
1answer
50 views

In a multistage Docker build, should the WORKDIR be deleted? [closed]

My Dockerfile contains this: ### STAGE 1: Build Angular app ### FROM node:14.15 AS build WORKDIR /usr/src/app COPY src/hub/package.json ./ RUN npm cache verify RUN npm install COPY src/hub/ . RUN npm ...
4
votes
3answers
132 views

Do Docker containers take up space?

When I list my Docker images, I can see their sizes: $ sudo docker image ls REPOSITORY TAG IMAGE ID CREATED SIZE travisci/ci-ubuntu-1804 packer-...
0
votes
0answers
10 views

docker kali linux container: wireless card is seen as eth0

So, I installed kali linux with command: docker pull kalilinux/kali-rolling Then I installed net-tools to do ifconfig. ifconfig shows eth0, lo (loopback), but no wifi card. Why docker sees my wifi ...
0
votes
1answer
24 views

any way to limit “docker logs” output by default?

Context* I forgot to pass the "--tail" options to the "docker logs" command when inspecting a running container. The affected container dumps tens of millions of logs. The command ...

1
2 3 4 5
18