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
- Open the Appliku dashboard
- Navigate to the Servers tab
- Click on a server to open its detail page
- 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
- Appliku builds a new Docker image from your application code
- A new
docker-compose.ymlis generated based on your process definitions - Old containers are stopped and replaced with new ones running the updated image
- 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
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.