A dumb UI for smart people.
611
web-docker-dumb is a simple web-based user interface designed for users who are already familiar with Docker and Docker Compose command-line tools. This project aims to provide a basic set of features to manage Docker containers remotely.
Every tool, even "lightweight" ones had too many features. I hated using GUI's to manipulate compose files as I couldn't see exactly what they were doing.
In this project, we utilize the tecnativa/docker-socket-proxy for the following reasons:
services:
docker-proxy:
image: tecnativa/docker-socket-proxy
container_name: docker-proxy
restart: always
ports:
- "2375:2375"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
PING: "1"
CONTAINERS: "1"
POST: "1"
healthcheck:
test: ["CMD", "wget", "--spider", "--quiet", "http://localhost:2375/_ping"]
interval: 5s
timeout: 3s
retries: 5
start_period: 2s
web-docker-dumb:
image: braydennn/web-docker-dumb:latest
depends_on:
docker-proxy:
condition: service_healthy
environment:
- DOCKER_HOST=tcp://docker-proxy:2375
ports:
- "8000:8000"
Clone the repository:
git clone https://github.com/braydenalex/web-docker-dumb.git
cd web-docker-dumb
Set up the environment variables:
.env file in the backend directory with the necessary configurations. Refer to the .env.example for guidance.Start the application using Docker Compose:
docker-compose up -d
Access the UI:
http://localhost:8000 to start using the application.DOCKER_HOST=
ROOT_PATH=
API_BASE_PATH=
Frontend: Contains the HTML and JavaScript files for the user interface.
index.html: The main HTML file for the UI.script.js: JavaScript file handling UI interactions and API calls.Backend: Built with FastAPI to interact with Docker.
main.py: The main API file that handles requests to list, start, stop, and fetch logs of containers.Contributions are welcome! Please fork the repository and submit a pull request for any improvements or bug fixes.
Content type
Image
Digest
sha256:ce32a0701…
Size
394 MB
Last updated
8 months ago
docker pull braydennn/web-docker-dumb