When I use Docker to run vyos, I limit the resources of the vyos container. The memory usage is 100M, and the swap usage is 200M. After entering the container, I find that the vyos user does not exist. It seems that the vyos service is not running successfully.
docker-compose.yml:
version: '3'
services:
vyos_562:
container_name: "vyos_562"
image: "vyos:1.4-rolling-202210250601"
privileged: true
cap_add:
- NET_ADMIN
- SYS_MODULE
sysctls:
- net.ipv4.ip_forward=1
deploy:
resources:
limits:
memory: 100M
memswap_limit: 200M
error:
User vyos not exist
Is the required hardware configuration also RAM: 1G when running the vyos container?