-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
75c4c08
commit 357efa8
Showing
3 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
# networking-basics | ||
Understanding Linux networking helps to understand how containers talk to each other, this repo is a summary of the steps to create 2 namespaces and connect them with a bridge | ||
|
||
# First clone this repo if you want to run the script to create vm's on your machine | ||
|
||
git clone https://github.com/everythingeverywhere/networking-basics.git | ||
|
||
# Create a Linux VM if you don't have one | ||
sh create-vm.sh | ||
|
||
> You will be in the VM to exit type `exit` | ||
# clone this repo to have it on the vm | ||
|
||
git clone https://github.com/everythingeverywhere/networking-basics.git && cd networking-basics | ||
|
||
# Create the all from blog | ||
sh create-net.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# To install using Homebrew: | ||
brew cask install multipass | ||
# Spin up a vm with the name ‘linux-vm’ | ||
multipass launch -n linux-vm | ||
# To enter into a shell in your vm use the following: | ||
multipass shell linux-vm |