Skip to content

ERROR: for autogpt-client Cannot create container for service AutoGPT: invalid volume specification #4

@Maryam-Nasseri

Description

@Maryam-Nasseri

Dear Weize/ other IOA developers,

Thanks for the IOA code and instructions. At command:
docker-compose -f dockerfiles/compose/open_instruction.yaml up

I run into this error:

ERROR: for autogpt-client Cannot create container for service AutoGPT: invalid volume specification: '/home/IoA-main/dockerfiles/compose/volumes/openai_response_log:.:rw': invalid mount config for type "bind": invalid mount path: '.' mount path must be a
Creating open-interpreter-client ... error

ERROR: for open-interpreter-client Cannot create container for service OpenInterpreter: invalid volume specification: '/home/IoA-main/dockerfiles/compose/dockerfile/compose/volumes/openai_response_log:dockerfile/compose/.env:rw': invalid mount config for type "bind": invalid mount path: 'dockerfile/compose/.env' mount path must be absolute

ERROR: for AutoGPT Cannot create container for service AutoGPT: invalid volume specification: '/home/IoA-main/dockerfiles/compose/volumes/openai_response_log:.:rw': invalid mount config for type "bind": invalid mount path: '.' mount path must be absolute

ERROR: for OpenInterpreter Cannot create container for service OpenInterpreter: invalid volume specification: '/home/IoA-main/dockerfiles/compose/dockerfile/compose/volumes/openai_response_log:dockerfile/compose/.env:rw': invalid mount config for type "bind": invalid mount path: 'dockerfile/compose/.env' mount path must be absolute
ERROR: Encountered errors while bringing up the project.

-- When I checked the open_instruction.yaml file, I can see that for both AutoGPT and Open Interpreter, in the volumes is set to:
./volumes/openai_response_log:${OPENAI_RESPONSE_LOG_PATH}

-- I tried to set the path to absolute (as indicated by the error message) but got the same error again!
PS: system Linux Ubuntu 20.04.1 LTS 64-bit

Thanks for any help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions