utility for use docker instead of classic setup ( wamp, mamp, lamp)

I have a question. I’m a web developper since 5 years and i develop locally with the classic setup that is to say wamp/mamp/lamp under the OS and i use git also. For ship the source code, i push the code to the git server and i pull it from my server of production. I […]

$GEM_HOME and $GEM_PATH are wrongly set in Passenger

I am trying to setup a rails(v4.2.6) application using Passenger(v5.1.4)+Nginx in a docker container. I used official ruby 2.3.1 as base image. Following is my nginx file for site server { server_name example.local; listen 4000; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; root /www/app/public; passenger_ruby /usr/local/bin/ruby; try_files $uri @passenger; location @passenger { passenger_enabled on; rails_env development; } … […]

permission denied error in docker

I create the docker image but I am trying to give a parameter to the docker image but I am getting an permission denied error on my entry.sh file. Docker File: FROM ubuntu MAINTAINER ravat RUN mkdir -p /home/ravata/Desktop/DockerDemo/ RUN echo “Hello Apache server on Ubuntu Docker” > /home/ravata/Desktop/DockerDemo/index.html COPY entry.sh . CMD /bin/bash entry.sh […]

Maintaining infra Oracle WebLogic/SOA/BPM on top of Docker

I am currently do exploration for weblogic SOA/BPM 12c running on top of docker and I found some scenario that I need to know how to do it with the docker. In this case : I create 4 images for OS, WLS installation, Oracle SOA/BPM Installation, Domain Installation (OS is base image of WLS, WLS […]

CHMOD in dockerfile for python

I have a python script that downloads another script and executes it. Unfortunately the second script can’t be downloaded due to the lack of permission. Error: retrbinary(“RETR ” + filename ,open(filename2017-06-14 14:16:28 [APP/PROC/WEB/0] ERR PermissionError: [Errno 13] Permission denied: ‘aa.py’ I tried to give CHMOD permission by using this dockerfile: FROM python:3 ADD ftapp.py / […]

Kubernetes NFS PersistentVolumeClaim has status Pending

I am trying to configure my Kubernetes cluster to use a local NFS server for persistent volumes. I set up the PersistentVolume as follows: apiVersion: v1 kind: PersistentVolume metadata: name: hq-storage-u4 namespace: my-ns spec: capacity: storage: 10Ti accessModes: – ReadWriteMany persistentVolumeReclaimPolicy: Retain nfs: path: /data/u4 server: readOnly: false The PV looks OK in kubectl […]

Docker Cloud autotest cant find service

I am currently trying to dockerize one of my Django API projects. It uses postgres as the database. I am using Docker Cloud as a CI so that I can build, lint and run tests. I started with the following DockerFile # Start with a python 3.6 image FROM python:3.6 ENV PYTHONUNBUFFERED 1 ENV POSTGRES_USER […]

Run mongo shell script in mongo docker container

I feel like this should be easier than it seems, but I can’t find an answer elsewhere and I’m out of ideas. So the goal here is to have a mongo shell javascript file that can be run inside the mongo docker container from the local machines CLI. So, say I have a docker container […]

Can I run JetBrains dotCover in a Linux Docker container?

I’m building and running a .NET Core application inside a Linux-based Docker container. I’m having trouble figuring out if dotCover is cross-platform? I want to either… Install and run dotCover inside the Docker container (that is $ dotcover analyse …). Or run some compatible instrumentation during the test step inside the Docker container and send […]

Accessing a MySql database from external IP (Docker containers)

Using Docker containers, I am trying to access a MySQL Docker container (https://hub.docker.com/_/mysql/) from other containers. To do that, I’ve been using the PhpMyAdmin docker container (https://hub.docker.com/r/phpmyadmin/phpmyadmin/) which is the most simple way to view mysql databases. Access denied However… my phpmyadmin container cannot connect to the mysql container, giving the following error : #1045 […]

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.