You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I'm using docker-network-mode-host template on multiple workspace. And it worked well until I start to have few conflict between projects.
Putting each workspace in a private network looked like a great idea to avoid any problem
So I started to take a look at the other dind template docker-with-docker-network
But I couldn't make it work like described:
The Readme.md and the main.tf don't seem to agree, the readme show some code that differ in the actual code
Using the main.tf file seem to work at first, the provision and starting works fine. But the networking is so private everything happening inside can't open port or forward port to the outside. Making it pointless for most workspaces
So I'm kinda stuck not able to expose port from inside this application at the host level
This method doesn't work for me, even in privileged mode, I can't set host and a private network at the same time
Error: Unable to connect to network 'network-xxx': Error response from daemon: container sharing network namespace with another container or host cannot be connected to any other network
on main.tf line 158, in resource "docker_container" "dind":
158: resource "docker_container" "dind" {
Is there any solution around this?
The text was updated successfully, but these errors were encountered:
Description
Hi there,
Recently I'm using docker-network-mode-host template on multiple workspace. And it worked well until I start to have few conflict between projects.
Putting each workspace in a private network looked like a great idea to avoid any problem
So I started to take a look at the other dind template docker-with-docker-network
But I couldn't make it work like described:
So I'm kinda stuck not able to expose port from inside this application at the host level
Details
The main issue seem to be around the readme:
This method doesn't work for me, even in privileged mode, I can't set
host
and a private network at the same timeIs there any solution around this?
The text was updated successfully, but these errors were encountered: