Running VyOS in a docker container just stops

Hello,

I am trying to play around with VyOS in a docker container. It won’t keep running, it just stops. Can’t figure it out. Can anyone advise please? Thank you

docker run -d --name vyos vyos/vyos-build:current

.
.
Status: Downloaded newer image for vyos/vyos-build:current
186aadf73b29a0b289f095e2258911750c1ae793aca295c60f7120d863ed6a4b

docker ps --all

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
186aadf73b29 vyos/vyos-build:current “/usr/local/bin/entr…” 12 seconds ago Exited (1) 10 seconds ago vyos
.
.
~# docker logs 186
Current UID/GID: 0/0
Usage: gosu user-spec command [args]
eg: gosu tianon bash
gosu nobody:root bash -c ‘whoami && id’
gosu 1000:1 id

gosu version: 1.12 (go1.15.9 on linux/amd64; gc)
gosu license: GPL-3 (full text at GitHub - tianon/gosu: Simple Go-based setuid+setgid+setgroups+exec)

thank you

It is not VyOS in docker container.
It is a “vyos-build” container which includes all pkgs which needed to build .iso
More details in our docs

thank you for your reply!