Install Docker-compose in Nodegrid

Install Docker-compose in Nodegrid

Docker-compose is a tool for defining and running multi-container Docker applications. 
With docker-compose, you use a YAML file to configure your application's services.

By running just one command, one can run all services from the configuration.

Prerequisites:
1. Docker license should be added
2. Virtualization must be enabled
3. Docker should be running

Steps to follow,

1. Login as root or as admin and switch to root with shell sudo su - 
2. Enable the virtual environment 
   python3 -m venv ~/docker-compose
3. Activate the service
   source docker-compose/bin/activate
4. Install docker-compose 
   pip install docker-compose
5. Check the version
   docker-compose --version

    • Related Articles

    • Docker container exits and stops running

      Nodegrid supports docker virtualization and to run docker you require a license. All you need is to install the license and activate the docker in Nodegrid. If the license is not installed on the device, docker might not run at all or container would ...
    • Leading Practice for VM and Docker Storage Location on Nodegrid

      Running virtual machines or Docker containers on Nodegrid using the main OS disk can be problematic if the virtual machines or containers will be making many writes to the disk. A busy VM or container can significantly degrade the lifespan of the ...
    • Licensing and activating Docker virtualization

      The Nodegrid platform allows administrators to run Docker applications. To work in Docker, one needs a license that must be installed in Nodegrid. Follow this steps to run docker in Nodegrid, Login in as admin in WebUI Go to System and navigate to ...
    • Customize docker data-root from Nodegrid UI

      In Nodegrid 6.0 or greater, you can customize the docker data-root from the Web UI. You can specify which disk partition to move the docker data-root. Any mounted and formatted disk partition can be used. The location will be created as /docker. If ...
    • Nodegrid Docker license and virtualization

      The Nodegrid platform allows administrators to run Docker applications. The platform allows pulling of Docker applications from Docker Hub, starting and stopping of the Docker Containers. The management of Docker Applications is currently only ...