Installing Prerequisites for Foundry Sigle Container Deployment
This page provides step-by-step instructions for installing the required components for deploying our product using Docker and Docker Compose. Will create sperate blog for setting up external Databases. Follow the guidelines based on your operating system.
1. Prerequisites
Before proceeding with the installation, refer to the official product documentation for the exact versions of Docker, Docker Compose, and the supported database that are compatible with this release of the product.
- Docker: Ensure you are using a version supported by the product. Check the Docker Compatibility Guide.
- Docker Compose: Verify the minimum required version. See the Docker Compose Release Notes.
Please refer to the Official Foundry Documentation to get the versions supported by foundry.
Using incompatible versions may lead to deployment issues or unexpected behavior.
2. Installation Steps by Operating System
Windows
-
Install Docker Desktop:
- Download and install Docker Desktop from Docker’s official site.
- Enable Windows Subsystem for Linux 2 (WSL 2) during installation.
-
Install Docker Compose:
- Docker Compose is included with Docker Desktop. Verify:
docker-compose --version
- Docker Compose is included with Docker Desktop. Verify:
macOS
-
Install Docker Desktop:
- Download and install Docker Desktop for Mac from Docker’s official site.
-
Verify Docker Compose:
- Docker Compose is included with Docker Desktop. Verify:
docker-compose --version
- Docker Compose is included with Docker Desktop. Verify:
Linux (Ubuntu/Debian-based systems)
-
Install Docker:
sudo apt-get update sudo apt-get install -y docker.io
- Verify installation:
docker --version
- Verify installation:
-
Install Docker Compose:
sudo curl -L "https://github.com/docker/compose/releases/download/v2.0.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose
- Verify installation:
docker-compose --version
- Verify installation:
Note: If you are using different flavor of linux please refer to Docker’s Official Site.
3. Useful Tips
-
Run Docker Without Root (Linux):
Add your user to thedocker
group:sudo usermod -aG docker $USER
Log out and back in to apply changes.
-
Disk Space Management:
- Monitor available space, especially for large images:
docker system df
- Clean up unused Docker resources:
docker system prune
- Monitor available space, especially for large images:
-
Common Ports:
- Docker: Ensure ports like
8080
or5432
are not blocked. - Database: Ensure the firewall allows connections to your database port.
- Docker: Ensure ports like
4. Verify Installation
Run the following to confirm everything is installed and working:
docker --version
docker-compose --version
5. Next Steps
Once prerequisites are installed:
- Setup External Supported Database or Use Supported Inbuild Container based Database.
- Proceed with Foundry Single Container Deployment Guide.