Komga docker command really long? reddit / selfhosted ---------------------------------------------------------------------- zeekaran · 2023-12-02 22:43 I'm running a bunch of things in docker compose and all their commands are really short and simple. Mostly just "/init". But komga is over here muckin up my docker ps with this huge command: > "java --enable-preview --enable-native-access=ALL-UNNAMED org.springframework.boot.loader.JarLauncher --spring.config.additional-location=file:/config/" [Very long](https://i.imgur.com/epGxbJ2.png). Kinda ruins this whole viewer. How can I fix that? ---------------------------------------------------------------------- Reasonable-Ladder300 · 2023-12-02 22:56 Put it in a bash script like entrypoint.sh and instruct your build to use that instead. If it’s a prebuilt image you can mount the bash script with the and use the command parameter for startup. ---------------------------------------------------------------------- adamshand · 2023-12-03 04:04 ``` dps() { docker ps --format "table {{.Names}}\t {{.Size}}\t {{.Status}}\t {{.Ports}}" | sed -e 's/0.0.0.0://g' -e 's/, :::[0-9]*->[0-9]*\/[tu][cd][p]//g'; } ``` ---------------------------------------------------------------------- linxbro5000 · 2023-12-03 20:37 Just use the docker-compose.yml from https://komga.org/docs/installation/docker/ ? ---------------------------------------------------------------------- zeekaran · 2023-12-03 21:41 That's what I'm doing. komga: image: gotson/komga:latest container_name: komga volumes: - //config/komga-config:/config - //data:/data ports: - 5300:8080 environment: - PUID=13012 - PGID=13000 restart: unless-stopped