Note to self: a single service ("container") out of a docker-compose.yaml file is rebuilt and restarted like this: docker-compose create container_name While this complains about deprecations, there is another way. Let's say we want to re-create a container called "web" belonging to a composition: # stop container docker-compose stop web # optionally destroy container. … Continue reading Rebuilding single services in docker-compose
Tag: docker
Securing a development server
In this post I talk about setting up and securely operating development tools like Jenkins and Gitlab on a server connected to the internet. All applications run behind a firewall and a reverse HTTP proxy which allows only HTTP requests from selected users through who authenticate themselves with client certificates. Putting web-facing software on the … Continue reading Securing a development server
Monitoring for the private Docker cloud project
A few days ago I blogged about my holiday project (Building a private cloud with Docker [1]) which is just a proof of concept as it lacks important features. One of them is monitoring which is a tough topic in cluster environments. There are a few open source, free to use monitoring solutions for Docker … Continue reading Monitoring for the private Docker cloud project
Building a private cloud with Docker
Abstract: In this post I'll describe how to create a private cloud with Docker, Varnish and a lot of shell scripting on a set of private (virtual) servers. This post assumes intermediate knowledge of related techniques. I will still once in a while go into setup details because, well, this is also an exercise for … Continue reading Building a private cloud with Docker
Tomcat starts slowly in docker container
Just a little reminder to self: when running Tomcat with Java 8 in an Ubuntu Docker container, Tomcat will take a very long time (minutes!) to start with even the simplest web application. The issue is actually documented (not entirely Docker-related). The solution is to modify JAVA_OPTS to use a different random device: JAVA_OPTS=-Djava.security.egd=file:/dev/urandom


