-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: ERROR: Failed to download https://cndl.synology.cn/download/DSM/release/7.0.1/42218/DSM_VirtualDSM_42218.pat , reason: 28 #866
Comments
The error seems very clear? Your container fails to download https://cndl.synology.cn/download/DSM/release/7.0.1/42218/DSM_VirtualDSM_42218.pat so maybe a problem with your network configuration. |
My host machine's network is normal and I can use wget to download the file from this URL. However, why can't the DSM container launched with the Docker Macvlan network use the local file specified by the URL parameter? This is very strange. name: dsm-dev-macvlan
services:
dsm:
cap_add:
- NET_ADMIN
container_name: dsm-dev-macvlan
device_cgroup_rules:
- c *:* rwm
devices:
- /dev/kvm
- /dev/vhost-net
- /dev/dri
environment:
CPU_CORES: "8"
DHCP: "Y"
DISK_FMT: qcow2
DISK_SIZE: 50G
DISK2_SIZE: 100G
DISK3_SIZE: 100G
GPU: "Y"
RAM_SIZE: 8G
TZ: Asia/Shanghai
URL: DSM_VirtualDSM_72806.pat
hostname: dsm
image: vdsm/virtual-dsm:7.22
networks:
macvlan1: null
restart: unless-stopped
stop_grace_period: 2m0s
volumes:
- type: bind
source: /data/dsm-dev-macvlan/storage/
target: /storage
bind:
create_host_path: true
- type: bind
source: /data/dsm-dev-macvlan/share2/
target: /storage2
bind:
create_host_path: true
- type: bind
source: /data/dsm-dev-macvlan/share3/
target: /storage3
bind:
create_host_path: true
networks:
macvlan1:
name: macvlan1
driver: macvlan
driver_opts:
parent: enp0s20u3u4
ipam:
config:
- subnet: 192.168.8.0/24
gateway: 192.168.8.1
ip_range: 192.168.8.0/24
attachable: true
error log
|
I'm sure the URL parameters are not working, even though I'm using the Docker bridge network. |
Operating system
centos7
Description
如下
Docker compose
Docker log
Screenshots (optional)
No response
The text was updated successfully, but these errors were encountered: