Docker Container for phpMyAdmin

Been containerizing a lot of my tools and just added phpMyAdmin to that list. It’s very easy to get going with it esp. if you also happen to have a Docker container running MySQL albeit with one minor issue. Official docker hub page: https://hub.docker.com/r/phpmyadmin/phpmyadmin/ Use an example Docker Run script below docker run \ –name name \ –restart=always \ -d \ –link mysqlcontainer:mysql \ -p localport:80 \ -e “PMA_HOST=mysqlcontainer” \ phpmyadmin/phpmyadmin localport is the port …

Read moreDocker Container for phpMyAdmin

Docker Transmission Container with Windscribe VPN

Found this awesome container that has Transmission with VPN support which I can use with Windscribe VPN. Docker Hub Link – https://hub.docker.com/r/haugene/transmission-openvpn/ Run command: docker run \ –name somename\ –restart=always \ –cap-add=NET_ADMIN \ –device=/dev/net/tun \ -d \ -v localdir:/data:z \ -v /etc/localtime:/etc/localtime:ro \ –log-driver json-file \ –log-opt max-size=10m \ -p localport:9091 \ –dns 8.8.8.8 –dns 8.8.4.4 \ -e “OPENVPN_PROVIDER=WINDSCRIBE” \ -e “OPENVPN_USERNAME=user” \ -e “OPENVPN_PASSWORD=pass” \ -e “OPENVPN_CONFIG=US-East-tcp” \ -e “LOCAL_NETWORK=iprange” \ -e “TRANSMISSION_WEB_UI=combustion” \ …

Read moreDocker Transmission Container with Windscribe VPN

Fixing Random Samba Share Lockouts Part 2 w/Docker

Continuation of my previous post about fixing random Samba Share lockouts. I discovered that Docker and Samba were fighting to gain access to the folders. If I set the label to samba_share_t, then Docker loses access. If I allow Docker (with “Z” option while running container), then Docker resets the label to “svirt_sandbox_file_t”. How can I make both use it? Turns out there is a solution. Credit to this Serverfault post: https://serverfault.com/a/881098/449814 Create a new …

Read moreFixing Random Samba Share Lockouts Part 2 w/Docker