You guys should have told me that there was a bug when creating a file, its fixed now, sorry about that :)
Docker-Compose Generator
Your Docker Run Cmd :
Unchecked:
Public
Checked:
Private
show docker-compose.yml
Compose File
Public
×
Using PWD in volumes wont work in docker-compose, either use use " . " or full path on source
×
These options are not recognized:
ipc
Maybe mispelled?
Compose ID: mbc12a8e
2x Space
4x Space
6x Space
8x Space???
Volumes: Yes Please
Volumes: No Thanks
GO!
Docker Hub for version
version: '3' services: version: cap_add: - AUDIT_WRITE - CHOWN - DAC_OVERRIDE - FOWNER - FSETID - KILL - MKNOD - NET_BIND_SERVICE - NET_RAW - SETFCAP - SETGID - SETPCAP - SETUID - SYS_CHROOT cap_drop: - AUDIT_CONTROL - BLOCK_SUSPEND - DAC_READ_SEARCH - IPC_LOCK - IPC_OWNER - LEASE - LINUX_IMMUTABLE - MAC_ADMIN - MAC_OVERRIDE - NET_ADMIN - NET_BROADCAST - SYSLOG - SYS_ADMIN - SYS_BOOT - SYS_MODULE - SYS_NICE - SYS_PACCT - SYS_PTRACE - SYS_RAWIO - SYS_RESOURCE - SYS_TIME - SYS_TTY_CONFIG - WAKE_ALARM entrypoint: - '/init' environment: - HOME=/config - LSIO_FIRST_PARTY=true - 'PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' - PGID=100 - 'PS1=$(whoami)@$(hostname):$(pwd)\$' - PUID=1001 - S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 - S6_STAGE2_HOOK=/docker-mods - S6_VERBOSITY=1 - TERM=xterm - TZ=Europe/Moscow - VIRTUAL_ENV=/lsiopy expose: - 21027/udp - 22000/tcp - 22000/udp - 8384/tcp hostname: omv labels: - build_version=Linuxserver.io image: 'version:-' command: 'v1.19.0-ls68 Build-date:- 2022-02-01T14:05:27+01:00 --label com.docker.compose.config-hash=6f51984a1bea2494aa29575f75aa799aad35fd88aca4c25f433175f7e9b084c9 --label com.docker.compose.container-number=1 --label com.docker.compose.oneoff=False --label com.docker.compose.project.config_files=/data/compose/2/docker-compose.yml --label com.docker.compose.project.working_dir=/data/compose/2 --label com.docker.compose.project=syncthing --label com.docker.compose.service=syncthing --label com.docker.compose.version=1.27.4 --label maintainer=thelamer --label org.opencontainers.image.authors=linuxserver.io --label org.opencontainers.image.created=2022-02-01T14:05:27+01:00 --label org.opencontainers.image.description=[Syncthing](https://syncthing.net) replaces proprietary sync and cloud services with something open, trustworthy and decentralized. Your data is your> --label org.opencontainers.image.documentation=https://docs.linuxserver.io/images/docker-syncthing --label org.opencontainers.image.licenses=GPL-3.0-only --label org.opencontainers.image.ref.name=59b4c7952a8a63e644d3cfc3037a4e073445c234 --label org.opencontainers.image.revision=59b4c7952a8a63e644d3cfc3037a4e073445c234 --label org.opencontainers.image.source=https://github.com/linuxserver/docker-syncthing --label org.opencontainers.image.title=Syncthing --label org.opencontainers.image.url=https://github.com/linuxserver/docker-syncthing/packages --label org.opencontainers.image.vendor=linuxserver.io --label org.opencontainers.image.version=v1.19.0-ls68 --log-driver json-file --log-opt max-file=5 --log-opt max-size=10m --name syncthing --net host --publish 21027:21027/udp --publish 22000:22000/tcp --publish 22000:22000/udp --publish 8384:8384/tcp --restart unless-stopped --shm-size 64m --volume /mnt/samba:/data --volume /var/lib/docker/config/Syncthing:/config --workdir / lscr.io/linuxserver/syncthing:latest'
Raw
Try On Play-With-Docker!
WGET:
History
m3v5hkle
,
m1ryrwj5
,
mdfka34r
,
md1gblga
,
m6nw9df2
,
lwikq7ta
,
me01lter
,
mcelcx1x
Examples
PHP+Apache
,
MariaDB
,
Python
,
Postgres
,
Redis
,
Jenkins
Traefik
Docker Inspect To Docker Run
Did you forget your docker run command to a running container? This will inspect a running container and provide you with the "docker run" command
Run This Command On Your Host:
docker inspect --format "$(curl -s https://run.docker-compose.net)" YOUR-CONTAINER-ID/NAME
Offline Version:
Open:
https://run.docker-compose.net
and save the content as run.tpl, and transfer it to your host, then run:
docker inspect --format "$(cat /location/of/run.tpl)" YOUR-CONTAINER-ID/NAME