@@ -8,22 +8,20 @@ tags: [container, containers, docker, podman]
88
99![ Docker whale] ( /assets/img/docker.webp ) {: width="200" .right}
1010
11- A network operating system for switches and routers, that runs Docker?
11+ An operating system for switches, routers, and end devices that runs Docker?
1212
1313Yes, as of Infix v24.02 support for running containers using [ podman] [ 1 ]
14- is supported. Because networking is a first class citizen in Infix, you
15- can set up quite advanced * virtual topologies* with containers. This
16- blog post is the first in a series of posts that aims to show this.
17-
18- > This post assumes knowledge and familiarity with the [ Infix Network
19- > Operating System] ( https://kernelkit.github.io/ ) . Ensure you have
20- > either a network connection or console access to your Infix system and
21- > can log in to it using SSH. Recommended reading includes the
22- > [ networking documentation] [ 0 ] .
14+ is supported. Because networking is a first class citizen in Infix, you
15+ can set up quite advanced virtual topologies with containers. This blog
16+ post is the first in a series that aims to show this.
17+
18+ > This post assumes knowledge and familiarity with [ Infix] [ 4 ] . Ensure
19+ > you have either a network connection or console access to your Infix
20+ > system and can log in to it using SSH. Recommended reading includes
21+ > the [ networking documentation] [ 0 ] .
2322 {: .prompt-info }
2423
25-
26- ----
24+ ---
2725
2826## Introduction
2927
@@ -42,7 +40,6 @@ Notice the slight change in the prompt. Return to the Bash shell using
4240the ` exit ` command, or Ctrl-D, from the "admin-exec" top level of the
4341CLI.
4442
45-
4643## Networking Basics
4744
4845![ Dataplane overview] ( /assets/img/dataplane.svg ) {: width="430" .right}
@@ -51,8 +48,8 @@ In Infix all network access has to be set up explicitly, so there is no
5148default container networking setup (it's a security thing). There are
5249two types available to choose from:
5350
54- - ` host ` : Ethernet interface
55- - ` bridge ` : Masquerading bridge
51+ - ` host ` : Ethernet interface
52+ - ` bridge ` : Masquerading bridge
5653
5754The first can be any physical port/interface which is handed over to the
5855container or, more commonly, one end of a * VETH pair* .
@@ -73,7 +70,6 @@ admin@infix:/config/interface/docker0> set container-network
7370admin@infix:/config/interface/docker0 > leave
7471```
7572
76-
7773## Web Server Container
7874
7975![ nginx] ( /assets/img/nginx.png ) {: width="60" .left}
@@ -119,7 +115,6 @@ host's IP address.
119115![ ] ( /assets/img/nginx-welcome.png )
120116_ Nginx default landing page._
121117
122-
123118> See the [ end of this post] ( #container-content-in-device-configuration )
124119> for how to store container file content in the Infix configuration!
125120> Meaning custom(er) builds of Infix can bundle a built-in container's
@@ -154,10 +149,9 @@ d95ce9f7674d:/# vi /usr/share/nginx/html/
15414950x.html index.html
155150d95ce9f7674d:/ # vi /usr/share/nginx/html/index.html
156151... edit, save & exit from vi ...
157- d95ce9f7674d:/ #
152+ d95ce9f7674d:/ #
158153```
159154
160-
161155## Container Content in Device Configuration
162156
163157Save the best for last? A neat feature is that container content can be
@@ -224,7 +218,6 @@ admin@infix:/config/container/web/mount/index.html/> leave
224218
225219Reload your browser to see the change.
226220
227-
228221## Fin
229222
230223That's the end of the first post about containers in Infix. Remember to
@@ -240,3 +233,4 @@ Take care! 🧡
240233[ 1 ] : https://podman.io
241234[ 2 ] : https://www.docker.com/resources/what-container/
242235[ 3 ] : https://github.com/kernelkit/infix/blob/main/doc/cli/text-editor.md
236+ [ 4 ] : https://kernelkit.org/
0 commit comments