mirror of
				https://github.com/TeamPiped/Piped-Docker.git
				synced 2024-08-14 23:56:53 +00:00 
			
		
		
		
	Add support for docker compose.
This commit is contained in:
		
							parent
							
								
									597bdfb23d
								
							
						
					
					
						commit
						099a59cf8a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -5,7 +5,7 @@ if [ -z "$(which docker-compose)" ]; then | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
| # Docker-Compose version check, to prevent "Unsupported configuration option" | # Docker-Compose version check, to prevent "Unsupported configuration option" | ||||||
| COMPOSE_VERSION=$(docker-compose version --short) | COMPOSE_VERSION=$(docker-compose version --short 2>/dev/null || docker compose version --short 2>/dev/null) | ||||||
| REQUIRED_COMPOSE_VERSION="1.28.0" | REQUIRED_COMPOSE_VERSION="1.28.0" | ||||||
| if [[ $(printf '%s\n' "$REQUIRED_COMPOSE_VERSION" "$COMPOSE_VERSION" | sort -V | head -n1) != $REQUIRED_COMPOSE_VERSION ]]; then | if [[ $(printf '%s\n' "$REQUIRED_COMPOSE_VERSION" "$COMPOSE_VERSION" | sort -V | head -n1) != $REQUIRED_COMPOSE_VERSION ]]; then | ||||||
|     echo "Your docker-compose version of $COMPOSE_VERSION is too old. Please upgrade to $REQUIRED_COMPOSE_VERSION or higher." |     echo "Your docker-compose version of $COMPOSE_VERSION is too old. Please upgrade to $REQUIRED_COMPOSE_VERSION or higher." | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue