Skip to content

Content Tagged "docker"

Page 1 of 2

I Declare Defeat - Mount NFS in Docker

October 20, 2020Category: IT
Today I've tried to mount a NFS into a docker volume via the following means: Mount the NFS on the host and create a docker volume using the absolute path Create a docker volume via NFS Both variants have failed miserably, in hte sense that I could get the docker container to "see" it, but read-only…

Map Subdomains to Docker Containers with Synology

October 2, 2018Categories: IT, Tutorial
The other day I got fed up with having to insert diskstation.local:12345 to point towards an installed service on my NAS. I also thought that my SO has difficulties remembering all the ports (I do too) and cleaning up the browser cache doesn't help either. So, I thought: Wouldn't it be nicer if…

Build a Django Docker Image with Cx-Oracle

July 17, 2018Categories: Software, Tutorial
TL;DR: Don't use alpine images. There's a glibc issue . We added a cx-oracle dependency to one of our django apps. As the previous image was just an alpine basic (python) image we needed to put in place a process to build the new image. Initially, I've tried to use the same alpine image (oh…

Monitor Docker Logs with ELK - 1

December 12, 2017Categories: IT, Tutorial
Following my attempts to monitor ethOS data via ElasticSearch and Kibana , I've thought it would be a good idea to start monitoring the logs produced by my various docker instances. This first part deals with configuring ELK and logspout . Prerequisites I assume the following: ELK is…

Docker Exec Path-based Commands

November 17, 2017Categories: IT, Tutorial
TL;DR: Use sh -c "command with arguments" I've tried to execute in order to see the size used by a container's logs. Unfortunately, this resulted in an error along the lines: du: C:/Program Files/Git: No such file or directory This means that my git bash prompt interpreted the / itself. In…

HTTP 400 Bad Request with docker-maven-plugin

November 16, 2017Category: IT
TL;DR : Check your Dockerfile (try to build it manually) before anything else! Today I was struggling with a 400 error: Exception caught: Request error: POST : 400: HTTP 400 Bad Request -> Help 1 when building an…

Initialise Python with GoCD

November 10, 2017Categories: IT, Tutorial
Following the deployment of a python-aware agent , we can start creating a pipeline. The first stage would be to: Clean up any previous data Create a virtual environment for python Install all dependencies from a requirements.txt file in our project Note: we assume the global pipeline settings…

Create a Python-friendly GoCD Agent in Docker

November 10, 2017Categories: IT, Tutorial
I've got two requirements to make GoCD useful: Run both the server and agent(s) in Docker Make it python-friendly Fortunately, GoCD offers Docker images (and Dockerfile s) for both, so it's just a matter of extending it: Unfortunately, pip is not quite adequate, so we re-install it from source…

Allow Docker Container Access Behind Proxy

November 10, 2017Categories: IT, Tutorial
In the previous post , I've described how to build an image when you're behind a proxy. Now, if your container needs access to the internet for e.g. downloading python dependencies, you'll need to give it explicitly. The way to do it is via -e parameter (environment) of docker run . You can…

All tags