Questions tagged [docker]

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

81 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
46 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/...
2
votes
0answers
25 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 ...
2
votes
0answers
23 views

Is running linux container on windows aws instance possible?

what I'm trying to achieve is running a Linux(ubuntu LST) container inside a windows server 2019 OS. The problem is that the windows OS runs as an AWS instance. There have been problem for me trying ...
2
votes
0answers
273 views

Remote connection from Docker container by FTP

I built my docker image and run it: docker run --rm -P -d test:latest Then I entered the command and opened connection: ftp open XXX I successfully connected and entered user data. After that I ...
2
votes
0answers
20 views

How can I allow admins to run Django Admin CLI commands against a Django application deployed live as part of a Docker Swarm cluster?

Specifically, I want them to run the following: https://django-q.readthedocs.io/en/latest/monitor.html I am looking to write a minimal wrapper-script which would simply allow them to run a single ...
2
votes
0answers
123 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
0answers
218 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 ...
2
votes
0answers
55 views

Can you use docker-machine from Bitbucket Pipelines?

I have some servers where I have nginx installed on the base system in reverse proxy mode, and then use Docker deployments to push out containers where just the local HTTP port is exposed. We don't ...
2
votes
0answers
35 views

Issue building deb package using Docker/Windows

I am trying to create a way for our developers to be able to build deb packages from their Windows machines. We would like to reuse what we have for *nix so I've written a few batch scripts which are ...
2
votes
0answers
100 views

Run Docker Containers without having a logged in User on Windows

Is it possible to run Docker containers without being logged in as a user on Windows? I have a few containers I am auto-deploying on a server, but I am currently stuck leaving a generic service ...
2
votes
0answers
287 views

Should I use systemd or docker-compose to replace Upstart for keeping Docker containers running on my systems?

We are talking about Docker containers as sysdig, consul, fluentd, mesos-slave, etc. that we are running on almost all machines. Currently we are using Ubuntu's Upstart and CoreOS's Fleetctl. We're ...
2
votes
0answers
311 views

Using docker cloud from jenkins running on local osx docker

Hopefully someone can help, I've found lots of information online but as I'm brand new to both jenkins and docker, I'm having a hard time sorting out which suggested solutions happen on the what ...
2
votes
0answers
2k views

Can not find save handler 'redis' - session startup failed - for PHP

I am getting this error while loading index.php file. Warning: session_start(): Cannot find save handler 'redis' - session startup failed in /var/www/html/index.php on line 2 My index.php code ...
2
votes
1answer
62 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 ...
1
vote
1answer
24 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 ...
1
vote
1answer
30 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' ...
1
vote
0answers
30 views

Docker failing while adding Ubuntu Image

I in the process of dockerizing an angular 9 application. My plan is to build the Docker from "scratch" then add the Ubuntu Bionic followed by Nginx followed by Angular and finally the theme ...
1
vote
0answers
30 views

How to execute a “hello redis” sample python script on a container from the host?

How do I execute this "Hello Redis!!!" sample from the host? root@mordor:~# root@mordor:~# docker container ls CONTAINER ID IMAGE COMMAND CREATED ...
1
vote
0answers
22 views

How to organize frontend infrastructure with dockerized MERN

Can you please tell me, how do I organize my frontend infrastructure for MERN stack dockerized app? For example, I will need a container for MongoDB, Node separately, organized with docker-compose, ...
1
vote
0answers
15 views

How to fetch PublishedPort from inspect

I'm trying to fecth the PublishedPort from my docker service. I think I'm close to fetch it. Here is the data : [ { "ID": "a51ijaddvaf1paeh1dn5p1k3", "...
1
vote
0answers
26 views

What is the best way to deploy a short living process when you have no machine?

I'm new to devops . I created a converter and want to deploy it . The converter converts a 3D model from a format to another and then you'll be able to visualize the outpout file on the platform and ...
1
vote
0answers
34 views

How can i deploy docker image into kubernetes cluster using Jenkins single job run

Certificate will be generated by a tool Jenkins instance installed. Need to automate certificate renewal process for kubernetes cluster.
1
vote
0answers
14 views

“fake” drive inflation for a VM for development of dockers

For this question, I am a bit lost. One problem is google gets confused and can't figure out what I mean by "docker files on VM drive" -- It constantly points me to "pros/cons of docker vs VM". ...
1
vote
0answers
15 views

Is it possible to share Kerbeos ticket from host system with Docker container

I'm trying to make a PoC. Host OS gets Kerberos ticket. There is a Docker container running on host OS. Docker container needs to get/hijack this ticket somehow it order to call some external services ...
1
vote
1answer
50 views

Pattern(s) to scale node.js based ETL

I have a node.js ETL application that transforms data from 1..n locations and from each location there will be 0..m transactions. The application is started via cron on a configurable interval, ...
1
vote
0answers
30 views

secret id in docker terraform file

what value secret_id variable is referring in below main.tf and terraform.tfstate code There is no variable called "id" in my secrets.tf file main.tf resource "docker_service" "mysql-service" {...
1
vote
0answers
100 views

Can't install Docker Engine On Windows Server 2019 in an Air Gapped network

The organization I work for has a tightly air-gapped network. I need to be able to run my applications in docker containers, so I need to install Docker Engine on Windows Server 2019. I have followed ...
1
vote
0answers
15 views

How to enable anonymous authentication for kube-apiserver using kops on AWS C2?

I want to enable anonymous authentication using kops, but it's default settings provides the --anonymous-auth=false options to kube-apiserver: /usr/local/bin/kube-apiserver --allow-privileged=true --...
1
vote
0answers
46 views

How to get parent Docker container ID in docker-in-docker-context?

While running a Docker container inside another Docker container, how to get parent container's ID?
1
vote
0answers
130 views

Connection refused when CURLing to docker container from within Jenkins pipeline

I have a situation with a CI Pipeline I'm trying to implement using Jenkins and Docker . Inside my pipeline I want to: download a python uwsgi web app, build it in a docker container, run it, then ...
1
vote
0answers
305 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
1k views

Access denied when pulling private registry image using helm with gitlab runner helm chart and ci job

I have a kubernetes cluster with 1 master and 2 workers. All nodes have their IP address. Let's call them like this: master-0 worker-0 worker-1 The network pod policy and all my nodes communication ...
0
votes
0answers
7 views

Why maven build slows in docker container when local maven repo mapped to container's /usr/share/?

We run Jenkins pipeline on docker container. During the run, we mount host's .m2 to container's with - -v $HOME/.m2:/usr/share/.m2 When host's .m2 mounted into container's /usr/share/.m2 maven build ...
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 ...
0
votes
1answer
16 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 ...
0
votes
1answer
10 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 ...
0
votes
0answers
8 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
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
8 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
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 ...
0
votes
1answer
36 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
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
0answers
57 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
7 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
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 ...
0
votes
0answers
24 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 ...
0
votes
0answers
51 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 ...