## Installing After installing Docker on Linux using [the official guidelines](https://docs.docker.com/engine/install/), add your user to the docker group: ```bash sudo usermod -a -G docker `whoami` ``` Only then start the docker demon or restart it with: ```bash sudo service docker restart ``` ## Building If you only want to bring build and run a single container, you can: ``` docker build -t image/name:version ``` To build from a [Dockerfile](https://docs.docker.com/build/concepts/dockerfile/) oin the current directory, set the build context to `.` (and build with name "test" and the "latest" version): ``` docker build -t test:latest . ``` This will expect that the Dockerfile is in the current directory. If you quickly need a trusted MCP server, Docker has a [MCP Server library](https://hub.docker.com/mcp) ## Running Run a (built) container with: ``` docker run -p $PORT_RANGE image/name ``` Show all running containers [even exited ones and with detailed info]: ``` docker ps [-a] ``` ## Docker Compose To get a whole battery of services running, you need to have a `docker-compose.yml` file. You can bring up all containers by running this command where your YAML file lives: ``` docker-compose up ``` And you shut them down with `docker-compose down`. Alternatively, you might want to use Kubernetes, EKS (AWS), AKS (Azure), etc. to run your pods.