Complete .Net 7 microservices architecture using a sysbox powered master container (with systemd functionality) to run all 22 eShop docker containers within docker securely.
Install and configure sysbox on your dev server/laptop
install with yay on arch distros (refer to sysbox documentation for others - https://github.com/nestybox/sysbox)
yay -S sysbox-ce-bin
sudo systemctl enable --now sysbox
make sure this entry is in your docker deamon.json file (/etc/docker/daemon.json)
{
"runtimes": {
"sysbox-runc": {
"path": "/usr/bin/sysbox-runc"
}
}
}
sudo systemctl daemon-reload
sudo systemctl restart docker
docker info | grep -i runtime
Runtimes: sysbox-runc io.containerd.runc.v2 runc
docker pull karlpothast/eshoponsysbox:1.0.0
docker run --runtime=sysbox-runc -itd -p 5100:5100 -p 5104:5104 -p 5107:5107 --name eshop karlpothast/eshoponsysbox:1.0.0
docker exec -it eshop bash
cd $HOME
./start-all-containers.sh
You should be able to see the catalog, SPA app and health checker with the following URLs :
.net7 eShopOnContainers microservices architecture https://github.com/dotnet-architecture/eShopOnContainers
Sysbox https://github.com/nestybox/sysbox
Ubuntu 22.04 with systemd : jrei/systemd-ubuntu *this worked easier than nestybox's ubuntu 22.04 iamge
add docker-compose functionality to always get the latest version