Why kubernetes-scheduler and controller-manager is stopped sometime in etcd master (three nodes)

I had build a master cluster(k8s) with three nodes. But there are two problems: The etcd‘s log on every node report two warnings: (1). apply entries took too long [11.167451ms for 1 entries] (2). failed to send out heartbeat on time I probably know it’s disk too slow from the google but i can’t resolve […]

Trying to use zap in a gitlab-ci workflow

I am trying to automatize the usage of Zap in the continuous integration workflow of my company. We are using gitlab-ci and I’d want to use a docker image embedding Zap as a service and, in a first time, just call a quick scan on a legally targetable website like itsecgames.com. I am using the […]

Error when running application at the container -Docker

Command: $ docker run -p 8080:3000 -v $(pwd):/var/www node -w “/var/www” node npm start Error: container_linux.go:247: starting container process caused “exec: \”-w\”: executable file not found in $PATH” C:\Program Files\Docker Toolbox\docker.exe: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused “exec: \”-w\”: executable file not found in $PATH”.

Traefik accessLog configuration

I am using Traefik 1.3.1, I put the configuration below in traefik.toml file but I can’t see any access log on stdout. Is it working for you guys? [accessLog] format = “common”

vuejs application does not run with dockerized npm

I’m trying to set up a repeatable build-environment which does not mess with anything on the local machine. For that I decided to use docker to wrap the npm and vue cli. Everything runs on the machine where I first ran the vue quickstart command. But when I take a fresh clone from the repository […]

How to create mysql volume which exists even if i remove the docker container

I created docker container with mysql using -v option: -v /storage/mysql1/mysql-datadir:/var/lib/mysql When i removed container i lost database saved in /var/lib/mysql . How can i create mysql container with -v option (to see everything from the host) and not lost the data?

How to build docker images for windows using VS2017 and Docker integration?

I’m working on Visual studio and Docker integration, but after working with some sample projects I realized that I can only build docker images for linux but not for windows. Is there any way to build docker images for windows?

How to get ng serve to work with host name on a VirtualBox Docker set up

My set up: Windows 10 running virtual box with Ubuntu 16.04 running a docker container with @angular/CLI: 1.1.3 node: 6.11.0 from which ng serve is called to run an angular 4 application On my windows machine hosts file, I have host name local.angular pointing to Vbox’s 192.168.56.101 and my network setting for virtual box is […]

Docker java pass startup param to jar

Here is my Dockerfile: FROM java:8 EXPOSE 8080 ADD target/Demo.jar demo.jar RUN sh -c ‘touch /demo.jar’ ENV JAVA_OPTS=”” ENTRYPOINT [ “sh”, “-c”, “java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /demo.jar” ] And my question is how can i pass some startup param like in normal call .jar file. For example when i call: java -jar demo.jar param1 param2 […]

Best way to use mysql for docker based microservices

I am developing microservices stack using spring cloud and database is mysql. for easily explain lets take one service and one mysql database. my questions what is the best way to deploy mysql database to production for container based enviorment. I can use mysql docker and mount host local file system to docker using -v […]

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