For Admin only
For Admin only
Synology Docker GUI can't start containers with option to propagate host's hostname inside docker network
--add-host=host.docker.internal:host-gateway
workaround is to add host's IP manually [ must be run from inside of container ]
# echo "172.17.0.1 nostovo.arnostdudek.cz" >> /etc/hosts
pro testovani nainstalujeme klienta pro prikazovou radku
$ sudo dnf install openldap-clients
a zkusime vypsat obsah adresare
$ ldapsearch -x -LLL -H "ldaps://nostovo.arnostdudek.cz" -D "uid=root,cn=users,dc=nostovo,dc=arnostdudek,dc=cz" -W -b"cn=users,dc=nostovo,dc=arnostdudek,dc=cz"
| param | description |
|---|---|
| -x | simple authentication |
| -LLL | extended format |
| -H | LDAP URI |
| -D | bind DN |
| -W | ask for password |
| -b | query |
Volume: /volumes1/docker/volume-nexus/
https://nostovo.arnostdudek.cz:8081
http://nostovo.arnostdudek.cz:7981
Docker URL: https://nostovo.arnostdudek.cz:32769/repository/nostovo/
{
"insecure-registries": ["nostovo.arnostdudek.cz:32769"]
}
$ systemctl restart docker
$ docker login [-u <user>] [-p <pass>] <URL> $ docker login -u admin -p <pass> nostovo.arnostdudek.cz:32769
z https://www.synoforum.com/resources/synology-reverse-proxy-under-the-hood.135/
$ docker login [-u <user>] [-p <pass>] <URL> $ docker login -u admin -p <pass> nostovo.arnostdudek.cz:32769
ldaps://<FQDN>:636
| Name | Mapped role | Contained roles | Description |
|---|---|---|---|
| LDAP operators | Directory Operators | ng-admin | allows access for LDAP AD operators |
| LDAP users | users | ng-authorized | allows access for LDAP users |
https://nostovo.arnostdudek.cz:8080
http://nostovo.arnostdudek.cz:7980
Volume: /volumes1/docker/volume-jenkins-home/
$ docker exec -it -u root jenkins-jenkins1 bash
„Svazek“ → „Pridat slozku“ → vybrat volume a potvrdit → „Cesta pro navazani“ = „/var/jenkins_home“
$ sudo ln -s /var/run/docker.sock /volume1/docker/docker.sock
<wrap fixme> „Svazek“ → „Pridat soubor“ → cil symlinku → „Cesta pro navazani“ = „/var/run/docker.sock“
Pro stable RedHat / Centos / Amazon Linux / … existuje repozitar:
$ sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo $ sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
https://nostovo.arnostdudek.cz:8082
http://nostovo.arnostdudek.cz:7982
https://github.com/louislam/uptime-kuma
Volume: /volumes1/docker/volume-uptime-kuma/
Volume: /volume1/docker/volume-handbrake/config
https://hub.docker.com/r/jlesage/handbrake
https://github.com/jlesage/docker-handbrake
docker run -d \ --name=handbrake \ -p 5800:5800 \ -v /docker/appdata/handbrake:/config:rw \ # Stores the application's configuration, state, logs, and any files requiring persistency. -v /home/user:/storage:ro \ # Contains files from the host that need to be accessible to the application. -v /home/user/HandBrake/watch:/watch:rw \ # The location for videos to be automatically converted. -v /home/user/HandBrake/output:/output:rw \ # The destination for converted video files. jlesage/handbrake
version: "3" services: # from https://www.youtube.com/watch?v=g25uQxDr7fQ handbrake: image: jlesage/handbrake container_name: handbrake environment: - TZ=Europe/Prague - USER_ID=1026 # Synology Container creator is using this instead of PUID. This is the same as the user id of the user in the container. - GROUP_ID=100 # Synology Container creator is using this instead of PGID. This is the same as the group id of the user in the container. # Handbrake GUI settings - AUTOMATED_CONVERSION_PRESET=nost/qsv h265 icq25 1080p - AUTOMATED_CONVERSION_FORMAT=mkv - AUTOMATED_CONVERSION_KEEP_SOURCE=0 - AUTOMATED_CONVERSION_OUTPUT_SUBDIR=SAME_AS_SRC ports: - 7984:5800 volumes: # NAS path | Container path - /volume1/docker/volume-handbrake/config:/config - /volume1/homes/nost23/nvidia_geforce:/storage - /volume1/homes/nost23/nvidia_geforce/prekodovat:/watch - /volume1/homes/nost23/nvidia_geforce/prekodovano:/output devices: - /dev/dri:/dev/dri # Binds the Intel Quicksync decoder to Plex HW Transcode group_add: - "937" # Synology "videodriver" group