Skip to content
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

docker-compose error (solution) #56

Closed
ghost opened this issue Sep 5, 2023 · 0 comments
Closed

docker-compose error (solution) #56

ghost opened this issue Sep 5, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 5, 2023

When execute command with docker-compose up -d the program throw a error like this:

ERROR: The Compose file './docker-compose.yml' is invalid because:
Unsupported config option for services: 'ftp-server'

The solution it's put version: '3' in the file docker-compose.yml

version: '3'
services:
  ftp-server:
    container_name: my-ftp-server
    environment:
      - FTP_PASS=tambok
      - FTP_USER=zaytos
    image: garethflowers/ftp-server
    ports:
      - '20-21:20-21/tcp'
      - '40000-40009:40000-40009/tcp'
    volumes:
      - '/data:/home/user'
@ghost ghost closed this as completed Sep 5, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants