26/06/2020 docker, AntOS, image, container, API

Running your own AntOS VDE system using docker image

More information on the project https://blog.lxsang.me/post/id/30

As an example of the entire working AntOS VDE system, a minimal docker image is available at https://github.com/lxsang/antosaio
which includes all necessary components (also developed by the author):

  1. AntOS API
  2. AntOS server side REST based API developed in lua, which is a part of this project https://github.com/lxsang/antd-web-apps
  3. The Antd web-server https://github.com/lxsang/ant-http and its plug-ins

The easiest way to install and test the entire VDE system is to use this docker image.
The following manual requires docker to be installed on the host system.

The pre-built image can be imported to docker using:

wget https://github.com/lxsang/antosaio/raw/master/dist/antosaio.tar
sudo docker load < antosaio.tar

The image can be run in a container using

sudo docker run -p 8080:80 -it antosaio

Here we map the host port 8080 to the port 80 on the antosaio container.
From the host browser, the VDE can be accessed via


Note that: the / at the end of the URL is important.

Build your own image

It is really simple to build your own AntOS docker image, one just needs to clone the repository, modify the Dockerfile to suit their own
need and then regenerate the image:

git clone --depth 1 https://github.com/lxsang/antosaio
# make change on the Dockerfile
cd antosaio
chmod +x bake.sh
sudo ./bake.sh

The generated image can be found in dist.

Related posts


The comment editor supports Markdown syntax. Your email is necessary to notify you of further updates on the discussion. It will be hidden from the public.
Powered by antd server, (c) 2017 - 2021 Xuan Sang LE