Questions tagged [docker-in-docker]

24612 questions
1

votes
0

answer
1.2k

Views

How to setup docker in Jenkins?

My question is on how to setup docker in jenkins We have one master server and 5 linux slaves and 2 windows slaves We are using artifactory to store docker images. What would be the steps to intergrate docker in jenkins ? Do I need to install docker on linux and windows slaves or any plugin installa...
devops
1

votes
0

answer
1.8k

Views

PHP session not working on docker

I am trying to set up a PHP application but something seems to be wrong with session handling. As you can see the configuration is quite standard. I checked the /tmp permissions from the container and got [email protected]:/# ls -ld /tmp drwxrwxrwt 1 root root 4096 Dec 28 08:03 /tmp I also checked...
Moby04
1

votes
0

answer
80

Views

Using docker Selenium node not accessable from my computer

Using Docker I run Selenium Hub and create two more container and register note. This is the logs 07:25:08.215 INFO - Will listen on 4444 2017-12-28 07:25:08.252:INFO:osjs.Server:main: jetty-9.4.7.v20170914 2017-12-28 07:25:08.273:INFO:osjs.session:main: DefaultSessionIdManager workerName=node0 2017...
zsbappa
1

votes
0

answer
909

Views

How to start mysql and set up the mysql root password for a docker container?

I am trying to host a web server via docker.The web server needs mysql database.But I am failing to change the root password of mysql and also start the mysql and apache2 service. So can someone help me to set the root password and start start the services. Here is my try to setup the docker contai...
Arijit Panda
1

votes
0

answer
54

Views

Docker image connecting to SAN

I have Docker load on my Win10 laptop with a SQL Server image. I have created a volume on the laptop to point to an existing database as a POC. Now I need to be able to do the same with a snapshot of SAN drive on my Win10 laptop. I'm using a Nimble SAN. The Nimble docker plugin appears to be availab...
SQLMac
1

votes
0

answer
383

Views

Add API present on a local docker container to Kong

I'm developing a little project with microservices, I want to configure Kong as the API-Gateway for my structure but I'm not able to forward incoming requests from Kong to my services. For example, I have a docker container running locally on address 172.18.0.15 and port 8006. I can access the api j...
EsotericVoid
1

votes
2

answer
358

Views

How to automatically stop and remove Docker container on Ctrl+C in terminal/gitbash/powershell/etc.?

For example I run docker run --rm --name mycontainer -p 8080:8080 myrepo/myimage then I see an output of my application, everything is OK. Then I press the Ctrl+C but the container is still running and I'm forced to explicitly stop and remove it: docker rm -f Or even worse: docker stop docker rm...
ieXcept
1

votes
1

answer
75

Views

Ubuntu 16.04 server amd64 install failed

I created a bootable usb using etcher on Mac os. The PC I installed on is a Dell Inspiron with Windows 7 64bit. Installation fails at the select and install step. None of the packages are able to install, causing the install to abort. I was only able to install Ubuntu 16.04 i386. Which is not capabl...
Omar Vivar
1

votes
2

answer
34

Views

Obtain list of newer releases in docker

Is there a docker command to get the list of versions (images) from the repo that are newer than the one currently running on the system? For instance, the system is running 2.6, and the repo hosts newer releases viz., ( 2.6.5, 2.7, 2.7.3, 2.9 ). This is to be able to do an incremental upgrade when...
Maddy
1

votes
1

answer
55

Views

wercker-cli - copying source to container takes a few minutes - how to make it faster

I'm running php/mysql/laravel project in wercker - to perform phpunit tests. I installed wercker-cli and docker on my macbook. I'm able to run it exactly in the same way as on remote wercker.com, however localy it takes much longer that remotely. Longest step is when sources are copied to container...
plusz
1

votes
0

answer
25

Views

Docker live server does not render pages in my project directory

I am new to Docker. I'm creating a live reload server for a project folder that has static HTML files based on this NPM package. This is what my Dockerfile looks like: FROM node:8.9.3-alpine LABEL Name=app-static Version=1.0.0 # Configure container image ENV NODE_ENV development WORKDIR /app VOLUME...
Nag
1

votes
1

answer
411

Views

chown: changing ownership of '/u01/app/oracle': Operation not permitted

I am using Docker (Community edition, Version 17.09.1-ce-mac42 (21090), 3176a6af01). For webapp development, I need Oracle 12c (and I need saving my works (database table, view, data, etc.) after close Docker application), therefore I use https://github.com/MaksymBilenko/docker-oracle-12c I do these...
Do Nhu Vy
1

votes
0

answer
31

Views

How can file writes with NodeJS on Docker be inconsistent?

A while back I've created some feed fetching & processing scripts with NodeJS for an application I'm working on. I've been running this script on my local machine (OSX) manually for a while and momentarily I'm working on having a job do this. I figured I'd go with a Docker droplet ($5/mo) on Digital...
nicoes
1

votes
0

answer
25

Views

Docker - run deployed asp.net application

How to run this: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES c2cafa3cb28b voiconshop:dev 'tail -f /dev/null' 8 minutes ago Up 8 minutes 5000/tcp, 0.0.0.0:32769->80/tcp...
Nguyễn Minh Vương
1

votes
1

answer
94

Views

Docker - Import Json Docment Inside The Solr Core

I want to ask if there is a way to import Json document into the core from the docker file while creating the core, or if I can mount a pre-created core directory with the Json file already imported inside it. An another method than import the document from Solr server page in Documents core tab and...
Ebraheem Alrabee'
1

votes
0

answer
314

Views

docker private registry push not working

I have created an private registry on server with fqdn 't-portus.at' (local ip 192.168.100.10) and can pull but don't push images. I use Portus as authentification (on the same 192.168.100.10 machine) system between docker client and docker registry. On the t-portus.at machine I have pushed to the r...
master07
1

votes
0

answer
419

Views

Deploy war in Glassfish 5 Docker Image

I am trying to deploy a war in a docker container based on the oracle/glassfish:5.0 image. I am able to deploy the war through the Glassfish Administration Console and manually uploading the war file. Nevertheless, I would like to deploy the war with maven using the cargo plugin. The versions I am...
eduardo.leon
1

votes
0

answer
206

Views

Docker can't run with Bamboo on Windows

I am running Bamboo and Docker on my windows environment. I cam execute docker with no issues from the command prompt. But Bamboo is not found the docker executable? i have it properly configured in the Server Capability 'C:\Program Files\Docker\Docker\resources\bin\docker.exe' in Bamboo I believe....
Jeryl Cook
1

votes
0

answer
564

Views

docker on freebsd 11.1

I am trying to run docker on FreeBSD 11.1, but I am having issues in building my docker images, for example, if I use https://github.com/dockerfile/ubuntu/blob/master/Dockerfile and build it, I get the following error: [email protected]  ~/Sandboxes/docker  docker build -t ubuntu-on-freebsd . Se...
khinester
1

votes
0

answer
84

Views

Restore .sql.xz file to postgresql database in docker

First, I follow the postgresql instruction on docker: docker run --name test-postgres then i tried to restore my db by the following command: xz -dc matrix-ww.sql.xz | docker exec -i test-postgres psql -U postgres matrix --set ON_ERROR_STOP=on --single-transaction the command seems executed. however...
Rizary
1

votes
0

answer
32

Views

Do I need to rotate jornald?

I want to use journald as logging driver of docker. As I am not familiar with journald, I am worried that the logging file may exhaust the storage of the host. Do I need to rotate journald somehow? If so, how?
Yao Zhao
1

votes
1

answer
55

Views

Docker Scheduling Strategy Clarification

I am new to docker, was playing around trying to run multiple containers on a swarm with spread strategy. Swarm had 3 nodes & each node already had 2 containers , and i ran 3 more docker run commands so that each node gets 1 more container. As I was running docker containers without specifying memor...
Lav
1

votes
1

answer
1.2k

Views

Jenkins permissions denied when copying files

I'm setting up a web application using jhipster. I created a Jenkinsfile with the jhipster subgenerator which looks like this: #!/usr/bin/env groovy node { stage('checkout') { checkout scm } docker.image('openjdk:8').inside('-u root -e MAVEN_OPTS='-Duser.home=./' --volume=/var/run/docker.sock:/var/r...
Martin
1

votes
1

answer
483

Views

Node.js spawn process not working inside Docker container

I have a server.js file in Node that calls python scripts as follows: // call python scripts var spawn = require('child_process').spawn; var process = spawn('python',['test.py', function_args]); process.stdout.on('data', function (data){ res.json({ 'answer' : from_python }) }); This works perfect...
Cybernetic
1

votes
1

answer
336

Views

Selenium grid Run to docker container

I've Installed Docker o my Computer and ran the following command [email protected]:~# docker run -d -p 4446:4444 --name selenium-hub selenium/hub & docker run -d -P -e no_proxy=localhost -e HUB_ENV_no_proxy=localhost --link selenium-hub:hub selenium/node-firefox-debug Then I view Logs on Hub 10...
zsbappa
1

votes
0

answer
461

Views

Setup apache multiple virtual hosts with fpm and docker

Hi guys here is the issue, i'd like to have 2 virtual hosts on Apache: one pointing to www.mysite.com (php-fpm container) and the other pointing to www.mysite.com/blog (wordpress fpm container). I'm using Docker with compose, the actual file is something like this server: build: ./docker/apache imag...
Alessandro Lucarini
1

votes
0

answer
298

Views

Docker for Windows - Install certificates using sn.exe / Strong Name utility

We have a Docker image that we use to build our Visual Studio solutions. This works great. Now we have some solutions that require a key. To install the key you use sn.exe, but Microsoft has gone through great lengths to make sure human input is needed, namely the password.. The image is based off F...
Thomas Rijsewijk
1

votes
1

answer
88

Views

Docker image cannot read / find a .jar file from another image?

I am new to both Java and Docker. I have two Git repositories: project-cms project-app Both repositories are Java projects. My instructions are to mvn clean install from project-cms and then mvn clean install && mvn build from project-app so that project-app can use the .war file generated by projec...
Nag
1

votes
1

answer
439

Views

creating pg_cron extension within docker-entrypoint-initdb.d fails

If I create the pg_cron extension in a docker-entrypoint-initdb.d/init.sql file, the docker image fails to run and docker logs just says 'No such container.' Here's the relevant .sql snippet: CREATE DATABASE my_database; \c my_database; CREATE EXTENSION IF NOT EXISTS postgis CASCADE; CREATE EXTENSI...
Alex Leung
1

votes
1

answer
297

Views

A neo4j docker service is not starting up

The following is my yaml file for a neo4j docker service: version: '2' services: neo4j: image: neo4j:3.2.0 network_mode: host restart: always environment: - NEO4J_AUTH=neo4j/neo4js env_file: - ./test-neo4j.env cap_add: - SYS_RESOURCE expose: - 7474 - 7687 - 1337 ports: - '7474:7474' - '7687:7687' -...
Ramvignesh
1

votes
0

answer
318

Views

Docker network interface interferes with mDNS address

Ever since I installed docker on my Ubuntu machine, I've been having problems with the mDNS address it advertises. In order for me to ssh into my box without knowing the ip, I need to use .local, which I need to have resolved to the eth0 interface. This was working up up until I configured docker. I...
Olshansk
1

votes
1

answer
203

Views

Following the Docker getting started pages and I get an error on Centos 7.4 when running their Python test image

I am following the Getting Started page on the Docker website, I am having trouble with the command docker run -p 4000:80 friendlyhello. I have copied the text perfectly to create the Dockerfile and the app.py/requiremtns.txt files. The error I get is: docker: Error response from daemon: driver fail...
SaltedPork
1

votes
0

answer
87

Views

docker orchestration - connect to remote interpreter using pycharm

i'm trying to connect pycharm to docker remote interpreter, but the container is part of a cluster (specifically using AWS ECS cluster) i can not access the container directly i have to go through the bastion machine (the instance that is running the container do not have public IP) i.e to access th...
gCoh
1

votes
1

answer
58

Views

I have an allowed IP range to configure dockers and I want to export docker daemon on a port

I have an allowed IP range to configure dockers and I want to export docker daemon on a port? I have exposed it using the standard way on 2375 port the docker connects on docker -H tcp://localhost:2375 ps but when I connect using ip address or hostname it doesnot work docker -H tcp://hostname:2375...
Tehreem Nisa
1

votes
0

answer
382

Views

nginx docker-compose issues mongo with node angular 5 on Windows

I have the following issue, when trying to create a user on the mongo container I am getting the below error. when not using docker and not using the mongo container, but the mongo installed on my harddisk, the user is created with no issues. I have very limited experience/knowledge with nginx and...
oudekaas
1

votes
1

answer
377

Views

Rancher, scaling services on the same host

We use rancher and we have a service in a docker container that uses specific ports (8080, 2480, 2424, 2434). We have only one host and we would like to scale the service (in such a way we can have multiple replicas of the service on the same host), but we encounter a problem. The scaling is not po...
Alessandro Bardini
1

votes
0

answer
327

Views

How to troubleshoot “docker: Error response from daemon: VolumeDriver.Mount: exit status 1%!(EXTRA []interface {}=[]).”

After installing the docker plugin 'vieux/sshfs', on fedora26 vm with 'Docker version 17.12.0-ce, build c97c6d6' and creating a volume via: docker volume create -d vieux/sshfs -o [email protected]:/mnt/d_drive/docker/vieux_sshfs/jenkins/data \ -o IdentityFile=/root/.ssh/id_rsa.pub \ sshvolume_...
swv
1

votes
1

answer
189

Views

Arquillian Cube Basic Example/Tutorial JMX Remote Access times out

I have tried to reproduce the Arquillian Cube Basic Example/Tutorial (on http://arquillian.org/arquillian-cube/#_basic_example), which starts a Tomcat 7 Docker Container and tries to deploy a war File in this Tomcat container. Even though I have specified environment variables as in the tutorial JAV...
DanielZ
1

votes
0

answer
225

Views

Using Docker with Jenkins to spin off slave containers

So I've been trying to follow the riot games tutorial on setting up jenkins with docker to spin off ephemeral containers. https://engineering.riotgames.com/news/jenkins-ephemeral-docker-tutorial The thing is this uses the deprecated docker toolbox and I'm setting this up natively on a CentOS box. Th...
Wes Elliott
1

votes
0

answer
122

Views

gprof inside docker container -> no time accumulated

I have a project (octave-4.2.1 tarball) compiled with gcc 6.3 on debian stretch with grpof. If I run it directly on the host, gmon.out is generated and the output of gprof shows timing infos. If I build the same code with excactly the same flags inside a docker container based on stretch-lite and ru...
Andy

View additional questions