How to Install Selenoid on Linux Mint Latest

Selenoid is a powerful and efficient Selenium server replacement for running tests in Docker containers. In this tutorial, you will learn how to install Selenoid on Linux Mint latest version.

Step 1: Install Docker

Before you can install Selenoid, you will need to have Docker installed on your Linux Mint system. Follow these steps to install Docker:

  1. Open a terminal window.

  2. Update your package list by typing the following command:

    sudo apt-get update
    
  3. Install Docker using the following command:

    sudo apt-get install docker-ce docker-ce-cli containerd.io
    
  4. After installation, start the Docker service using the following command:

    sudo systemctl start docker
    

Step 2: Install Selenoid

To install Selenoid on Linux Mint latest version, follow these steps:

  1. Open a terminal window.

  2. Download the Selenoid binary using the following command:

    wget https://github.com/aerokube/selenoid/releases/latest/download/selenoid_linux_amd64
    
  3. Make the binary executable by running the following command:

    chmod +x selenoid_linux_amd64
    
  4. Move the binary to the /usr/bin directory so that it can be used system-wide:

    sudo mv selenoid_linux_amd64 /usr/bin/selenoid
    
  5. Download the Selenoid UI binary using the following command:

    wget https://github.com/aerokube/selenoid-ui/releases/latest/download/selenoid-ui_linux_amd64
    
  6. Make the binary executable by running the following command:

    chmod +x selenoid-ui_linux_amd64
    
  7. Move the binary to the /usr/bin directory so that it can be used system-wide:

    sudo mv selenoid-ui_linux_amd64 /usr/bin/selenoid-ui
    

Step 3: Start Selenoid

After installing Selenoid, you will need to start it using Docker. Here's how:

  1. Open a terminal window.

  2. Create a directory for storing Selenoid configuration files:

    sudo mkdir -p /etc/selenoid/
    
  3. Download the configuration file for Selenoid using the following command:

    sudo wget https://raw.githubusercontent.com/aerokube/selenoid/master/cm/selenoid.json -P /etc/selenoid/
    
  4. Start Selenoid using the following command:

    sudo docker run -d --name selenoid -p 4444:4444 \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v /etc/selenoid:/etc/selenoid \
    aerokube/selenoid:latest-release
    
  5. Verify that Selenoid is running by visiting http://localhost:4444/status in your web browser or by running the following command:

    sudo docker ps
    

Step 4: Start Selenoid UI

To start the Selenoid UI, follow these steps:

  1. Open a terminal window.

  2. Start the Selenoid UI using the following command:

    sudo docker run -d --name selenoid-ui \
    --link selenoid \
    -p 8080:8080 \
    aerokube/selenoid-ui \
    --selenoid-uri=http://selenoid:4444
    
  3. Verify that the Selenoid UI is running by visiting http://localhost:8080 in your web browser.

Congratulations! You have successfully installed Selenoid on Linux Mint latest version.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!