skip to Main Content

Restricting default docker-compose networks

My machine is connected to the physical network 192.168.0.0/24, which also has an internet-of-things VLAN 107 at 192.168.107.0/24. After messing around with some docker containers, that host suddenly lost access to VLAN 107. What happened was that a bridge network…

VIEW QUESTION

Docker Host Not Found

I have two docker containers running, one with a Tomcat, one with an H2 database. To build the containers I use docker compose build with the following compose.yml: services: tomcat: build: tomcat ports: - "8080:8080" networks: - my-network h2: build:…

VIEW QUESTION

Can I extend a shared docker-compose service twice (multiple times)?

I have a maria-db database docker-compose.yml: version: '3.8' services: mariadb: image: mariadb:latest container_name: mariadb restart: always environment: MYSQL_ROOT_PASSWORD: admin MYSQL_DATABASE: "wordpress3,wordpress4" MYSQL_USER: mohsin MYSQL_PASSWORD: 12345678 volumes: - mariadb_data:/var/lib/mysql networks: - wordpress_network networks: wordpress_network: external: true name: wordpress_network volumes: mariadb_data: I…

VIEW QUESTION
Back To Top
Search