TRY with SUCCESS on 21.02.0 (and update of dockerd docker docker-compose
luci-dockerman)
MVEBU ARM64 EspressoBin-Ultra...
Code:
--------------------
root@ultra:~# cat /etc/config/dockerd
# The following settings require a restart of docker to take full effect, A
reload will only have partial or no effect:
# bip
# blocked_interfaces
# extra_iptables_args
# device
config globals 'globals'
# option alt_config_file '/etc/docker/daemon.json'
option enable '1'
option data_root '/srv/docker/'
# option data_root '/opt/docker/'
option log_level 'warn'
option iptables '1'
list hosts 'unix:///var/run/docker.sock'
# option bip '172.18.0.1/24'
# option fixed_cidr '172.17.0.0/16'
# option fixed_cidr_v6 'fc00:1::/80'
# option ipv6 '1'
# option ip '::ffff:0.0.0.0'
# list dns '172.17.0.1'
# list registry_mirrors 'https://<my-docker-mirror-host>'
list registry_mirrors 'https://hub.docker.com'
option remote_endpoint '0'
# option bridge 'br-container'
# Docker ignores fw3 rules and by default all external source IPs are allowed
to connect to the Docker host.
# See https://docs.docker.com/network/iptables/ for more details.
# firewall config changes are only additive i.e firewall will need to be
restarted first to clear old changes,
# then docker restarted to load in new changes.
config firewall 'firewall'
option device 'docker0'
list blocked_interfaces 'wan'
# option extra_iptables_args '--match conntrack ! --ctstate
RELATED,ESTABLISHED' # allow outbound connections
--------------------
Code:
--------------------
root@ultra:~# cat /root/LMS/docker-compose.yml
version: '3.5'
volumes:
gmusic:
driver: local
driver_opts:
type: nfs
o: "addr=10.4.2.25,nolock,soft,rw"
device: ":/GDATA02/MUSIQUES"
services:
lms:
container_name: lms
image: lmscommunity/logitechmediaserver:stable
volumes:
- /srv/SHARE/LMS/CONFIG:/config:rw
- /srv/SHARE/MUSIC:/music:ro
- /srv/SHARE/LMS/PLAYLIST:/playlist:rw
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/TC:ro
- gmusic:/gmusic:ro
# ports:
# - 9002:9002/tcp
# - 9090:9090/tcp
# - 3483:3483/tcp
# - 3483:3483/udp
restart: always
environment:
- HTTP_PORT=9000
- PUID=1000
- PGID=1000
network_mode: host
--------------------
Code:
--------------------
root@ultra:~# docker-compose -f /root/LMS/docker-compose.yml up --no-start
Building with native build. Learn about native build in Compose here:
https://docs.docker.com/go/compose-native-build/
Recreating lms ... done
--------------------
FIX : I had to create a missing file which link to a non existing
/tmp/localtime
Code:
--------------------
touch /etc/localtime
--------------------
Then... http://ultra:9000 and LMS is UP and Works fine (look to be
faster than with LXC)
Original
https://forum.openwrt.org/t/docker-engine-on-openwrt/12891/30?u=erdoukki
------------------------------------------------------------------------
dreagle's Profile: http://forums.slimdevices.com/member.php?userid=66232
View this thread: http://forums.slimdevices.com/showthread.php?t=111828
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix