https://github.com/torstendittmann/docker-gui
https://github.com/torstendittmann/docker-gui
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/torstendittmann/docker-gui
- Owner: TorstenDittmann
- Created: 2021-01-04T22:32:55.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-17T21:01:38.000Z (over 4 years ago)
- Last Synced: 2025-10-11T18:34:09.671Z (8 months ago)
- Language: Svelte
- Size: 2.03 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker GUI
## Development
Prepare the repo:
```sh
npm i
```
Run dev:
```sh
npm run dev
```
Build:
```sh
npm run build
```
## ToDo
### Frontend
- [ ] State Management
- [ ] GUI
- [ ] a11y
- [ ] i18n
### Backend
- [ ] Wrapper for Docker
- [ ] Emitters
- [ ] Functions
## API
### Frontend
### Backend
- fn `containerAll()` Returns all Docker Containers.
- fn `containerGet(container_id)` Returns Container informations by ID.
- fn `containerStop(container_id)` Stops Container.
- fn `containerRestart(container_id)` Restarts Container.
- fn `containerRemove(container_id)` Removes Container.
- fn `imagesAll()` Returns all Docker Images.
- fn `imagesGet(container_id)` Returns Image informations by ID.
- fn `imagesRemove(container_id)` Removes Image.
- listener `listen('logs', 'CONTAINER_ID')` - Will subsribe to a containers log.
- listener `listen('stats', 'CONTAINER_ID')` - Will subscribe to a containers stats.
- listener `listen('unsubscribe', 'logs|stats')` - Unsubscribe (There will only be a single sub to each channel)
- emitter `emit('logs', 'A LINE OF LOG'` - If subscribed - send every log to Frontend.
- emitter `emit('stats', 'Stats of the container'` - If subscribed - send stats every X seconds to Frontend.