Run Virola-server in Docker Container on Ubuntu Linux

We tested this instruction on freshly installed Ubuntu 18.04, 20.04, 21.04, 21.10, 22.04

  1. Install Docker Engine on Ubuntu Linux
    sudo apt-get update
    sudo apt-get install -y ca-certificates curl gnupg lsb-release
    sudo mkdir -p /etc/apt/keyrings
    sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
    echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
    sudo apt-get update
    sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
    
  2. Download the Virola Server Docker Image
    wget https://virola.io/downloads/1.0.19.22100315/virola-server-docker-1.0.19.22100315.tar.gz;
    
  3. Load the Docker Image into Container
    docker load < virola-server-docker-1.0.19.22100315.tar.gz
    
  4. Run Virola server in Docker
    docker run -it --rm -p 8888:7777/tcp -p 8888:7777/udp -v $HOME/virola-storage:/virola providesupport/virola-server:latest
    
    Where:
    • 8888 — the port you want to listen on from the outside and to which the virola client will connect. Can be any valid port number (from 1 to 65535), but must be the same for both TCP and UDP protocols;
    • 7777 — is the port inside the Docker container, which must be 7777 and cannot be changed.
    You may also need to open the TCP and UDP ports in the system firewall.

Note: On first launch, the server will create an admin user with the admin password and administrator rights. Please change the default admin password as soon as possible to a more secure one.

You can change user password from the Virola client. You can also change password of an existing user using the --change-password command line argument of the Virola server.