Skip to content

Configure only a single gateway if there are multiple interfaces. #156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jglogan
Copy link
Contributor

@jglogan jglogan commented Jun 20, 2025

No description provided.

@jglogan
Copy link
Contributor Author

jglogan commented Jun 21, 2025

Example usage:

% container system start
Verifying apiserver is running...
% container network create foo
foo
% container network ls
NETWORK  STATE    SUBNET
default  running  192.168.64.0/24
foo      running  192.168.65.0/24
% container run -d --name web-default --network default --rm python:slim python3 -m http.server --bind 0.0.0.0 8000
web-default                      
% container run -d --name web-foo --network foo --rm python:slim python3 -m http.server --bind 0.0.0.0 8000        
web-foo                          
% curl http://web-default.test:8000
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Directory listing for /</title>
</head>
<body>
<h1>Directory listing for /</h1>
...
</body>
</html>
% curl http://web-foo.test:8000
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Directory listing for /</title>
</head>
<body>
<h1>Directory listing for /</h1>
...
</body>
</html>
% container network rm foo
Error: internalError: "delete failed for one or more networks: ["foo"]"
% container stop web-foo
web-foo
% container network rm foo
foo
%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant