mirror of
				https://github.com/tteck/Proxmox.git
				synced 2025-10-31 02:49:19 +00:00 
			
		
		
		
	Update docker-install.sh
fuse-overlayfs option
This commit is contained in:
		
							parent
							
								
									74bc5cd3ca
								
							
						
					
					
						commit
						93c9e0494a
					
				| @ -97,6 +97,13 @@ DOCKER_COMPOSE_LATEST_VERSION=$(get_latest_release "docker/compose") | ||||
| msg_info "Installing Docker $DOCKER_LATEST_VERSION" | ||||
| DOCKER_CONFIG_PATH='/etc/docker/daemon.json' | ||||
| mkdir -p $(dirname $DOCKER_CONFIG_PATH) | ||||
| if [ "$ST" == "yes" ]; then | ||||
| VER=$(curl -s https://api.github.com/repos/containers/fuse-overlayfs/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') | ||||
| cd /usr/local/bin | ||||
| curl -sSL -o fuse-overlayfs https://github.com/containers/fuse-overlayfs/releases/download/$VER/fuse-overlayfs-x86_64 | ||||
| chmod 755 /usr/local/bin/fuse-overlayfs | ||||
| cd ~ | ||||
| fi | ||||
| cat >$DOCKER_CONFIG_PATH <<'EOF' | ||||
| { | ||||
|   "log-driver": "journald" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user