From b0adf85f129e861609430570298b8d927df0cd73 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sun, 20 Jul 2025 12:51:21 +0200 Subject: [PATCH] doc: minor, adjust image syntax and headings - Consistent formatting of image formatting - Make container examples easier to see Signed-off-by: Joachim Wiberg --- doc/container.md | 15 ++++++++------- doc/index.md | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/doc/container.md b/doc/container.md index 9d32ae40..1f169185 100644 --- a/doc/container.md +++ b/doc/container.md @@ -1,7 +1,7 @@ -Containers in Infix -=================== +Docker Container Support +======================== -![Docker whale](img/docker.webp){ width=360 align="right" } +![Docker whale](img/docker.webp){ align=right width="360" } Infix comes with native support for Docker containers using [podman][]. The [YANG model][1] describes the current level of support, complete @@ -86,10 +86,9 @@ your container image and application to run. > support the CPU architecture of your host system. Remember, unlike > virtualization, containers reuse the host's CPU and kernel. +![Hello World](img/docker-hello-world.svg){ align=right width="200" } -![Hello World](img/docker-hello-world.svg){align="right" width="360"} - -### Examples +### Example: Hello World Classic Hello World: @@ -105,6 +104,8 @@ Classic Hello World: Hello from Docker! This message shows that your installation appears to be working correctly. +### Example: Web Server + A web server with [nginx][], using standard docker bridge. Podman will automatically create a VETH pair for us, connecting the container to the `docker0` bridge: @@ -255,7 +256,7 @@ archive, which helps greatly with container upgrades (see below): Upgrading a Container Image --------------------------- -![Up-to-date Shield](img/shield-checkmark.svg){align="right" width="100"} +![Up-to-date Shield](img/shield-checkmark.svg){ align=right width="100" } The applications in your container are an active part of the system as a whole, so make it a routine to keep your container images up-to-date! diff --git a/doc/index.md b/doc/index.md index 52bd8a84..e5c9b0e0 100644 --- a/doc/index.md +++ b/doc/index.md @@ -1,4 +1,4 @@ -![Infix - Linux <3 NETCONF](logo.png){ width=480 align=right } +![Infix - Linux <3 NETCONF](logo.png){ align=right width="480" } Welcome to Infix, your immutable, friendly, and secure operating system! On these pages you can find both user and developer documentation.