Notes on docker

Docker ARG vs ENV https://vsupalov.com/docker-arg-vs-env/ Running GUI apps in docker ROS GUI in docker: https://tuw-cpsg.github.io/tutorials/docker-ros/ ROS GUI with NVIDIA: https://github.com/dkarunakaran/rviz_docker, https://medium.com/intro-to-artificial-intelligence/rviz-on-docker-bdf4d0fca5b rocker A tool to run docker images with customized local support injected for things like nvidia support. And user id specific files for cleaner mounting file permissions. rocker on github Build arguments example Dockerfile: FROM busybox ARG user USER $user # ... A user builds this file by calling:...

April 25, 2021 · SergeM

OpenVPN server in cloud using docker

links: How To Run OpenVPN in a Docker Container on Ubuntu 14.04 OpenVPN for Docker Connection via OPenVPN is slow for https Try the following advice The udp connection is perfect with these parameters (in client config): mssfix 1200 tun-mtu 1200 DNS doesn’t work through VPN Symptoms: Openvpn connects, you can ping web sites by IP address, but you cannot ping them by name (like ping google.com) Solution: This is a bug that’s fixed in upstream NetworkManager....

January 7, 2017 · SergeM

Run docker as pytest fixture

I need to test external API or perform integration test for my application. The extenal application can be accessible through docker image. I want to write a test that has docker run as set-up step docker stop/docker rm as tear down step As an example lets consider Seaweedfs as external API. SeaweedFS is a simple and highly scalable distributed file system. To run it you need to run master and slave images....

December 19, 2016 · SergeM