wget -O - http://iot.bzh/download/public/2017/XDS/docker/docker_agl_worker-xds-latest.tar.xz | docker load
```
-### Build the container
-As an alternative to a pre-build image, you can rebuild the container from scratch.
-`xds-server` has been integrated as a flavour of AGL SDK docker image.
-So to rebuild docker image just execute following commands:
-
-```bash
-# Clone docker-worker-generator git repo
-git clone https://git.automotivelinux.org/AGL/docker-worker-generator
-# Start build that will create a docker image
-cd docker-worker-generator
-make build FLAVOUR=xds
-```
-
-### List container
+### List container
You should get `docker.automotivelinux.org/agl/worker-xds:X.Y` image
```bash
### Building
+#### Native build
+
Create a GOPATH variable(must be a full path):
```bash
export GOPATH=$(realpath ~/workspace_go)
>make install DESTDIR=$HOME/opt/xds-server
>```
+#### XDS docker image
+
+As an alternative to a pre-build image, you can rebuild the container from scratch.
+`xds-server` has been integrated as a flavour of AGL SDK docker image.
+So to rebuild docker image just execute following commands:
+
+```bash
+# Clone docker-worker-generator git repo
+git clone https://git.automotivelinux.org/AGL/docker-worker-generator
+# Start build that will create a docker image
+cd docker-worker-generator
+make build FLAVOUR=xds
+```
+
### Configuration
`xds-server` configuration is driven by a JSON config file (`config.json`).
>**NOTE:** environment variables are supported by using `${MY_VAR}` syntax.
+
## Debugging
### XDS server architecture