Skip to content

Content Tagged "docker"

Page 1 of 2

Content Tagged "docker"

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 https://192.168.99.101:2376/build?t=localhost:5000/eris-django:2.0.1-ivanlla : 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…

Use Docker Behind Proxy on Windows 8

September 21, 2017Categories: Software, Tutorial
The other day I had to install Docker at work, aka behind a corporate proxy (on Windows 8). While the docker installer is stand-alone and all is good, dealing with the VM is a different matter... The problem popped up when I tried to create a Django image and pip install failed miserably. To get…
Next

All tags