Instructions can be found under our Getting Started with Linux & Docker guide
docker-compose down
your previous installation
Rename the previous directory: mv ~/anka-docker-controller-registry ~/anka-docker-controller-registry-old
Download and extract the latest version tar:
mkdir -p ~/anka-docker-controller-registry
cd ~/anka-docker-controller-registry
curl -L -o anka-docker-controller-registry.tar.gz https://veertu.com/downloads/ankacontroller-registry-docker-latest
tar -xzvf anka-docker-controller-registry.tar.gz
Copy the docker-compose file from the previous version's folder into the new: cp -rfp ~/anka-docker-controller-registry-old/docker-compose.yml ~/anka-docker-controller-registry/
Start the new Cloud Controller & Registry with --build
: cd ~/anka-docker-controller-registry && docker-compose up -d --build
docker-compose down
.Anka controller is a server that usually runs as a daemon and errors are usually written to a log.
Check the output of docker ps
. The anka controller container status should be something like this.
“Up for x amount of time”. For example:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ae6b522fdec4 test220919_anka-controller "/bin/bash -c 'anka-…" 2 minutes ago Up 2 minutes 0.0.0.0:8090->80/tcp test220919_anka-controller_1
If the controller is crashing the status could be “restarting” or “failed”. Example for restarting state: “Restarting (1) 12 seconds ago”.
You can try to run docker-compose up
without any parameters and this will output stdout for all services to the screen.
In case one of the services is crashing you could see the errors.Here is an example.
anka-controller_1 | E1128 15:17:16.952500 1 main.go:618] Could not build tls configuration:
anka-controller_1 | E1128 15:17:16.953204 1 main.go:619] open /whwhwhw/path: no such file or directory
test220919_anka-controller_1 exited with code 1
You can also take a look at the logs using docker logs --tail 100 -f $CONTAINER_NAME
.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.