Skip to main content

Docker Management

Appliku provides a dashboard view of Docker containers running on your servers. You can inspect container status, see resource usage, and understand what is running on each server.

Viewing Docker Containers

  1. Open the Appliku dashboard
  2. Navigate to the Servers tab
  3. Click on a server to open its detail page
  4. The Docker section shows all containers running on the server

For each container, you can see:

  • Container name -- identifies the application and process type
  • Status -- whether the container is running, stopped, or restarting
  • Resource usage -- CPU and memory consumption of the container

How Appliku Manages Docker

Appliku handles Docker automatically during deployments. You generally do not need to manage Docker containers manually. Here is what happens behind the scenes:

During Deployments

  1. Appliku builds a new Docker image from your application code
  2. A new docker-compose.yml is generated based on your process definitions
  3. Old containers are stopped and replaced with new ones running the updated image
  4. Health checks confirm the new containers are running correctly

Container Naming

Containers follow a naming convention that includes the application name and process type. For example, a Django application named "myapp" with a web process would have a container named accordingly.

Automatic Cleanup

Appliku periodically cleans up unused Docker images and stopped containers to reclaim disk space. This prevents the server from running out of storage due to accumulated old images from previous deployments.

Manual Docker Operations

While Appliku manages Docker automatically, you can interact with Docker directly using the Run Command feature. Some useful commands:

List all containers (including stopped)

docker ps -a

View container logs

docker logs --tail 100 <container_name>

Inspect a container

docker inspect <container_name>

Check Docker disk usage

docker system df
warning

Avoid manually stopping, removing, or modifying containers that Appliku manages. Appliku expects to control the container lifecycle and manual changes may be overwritten on the next deployment or cause unexpected behavior.

Volumes

If your application uses persistent volumes, the Docker volumes are mounted from the host filesystem into the containers. These volumes persist across deployments, ensuring your data is not lost when containers are replaced.