5G-Network icon indicating copy to clipboard operation
5G-Network copied to clipboard

Starting the CN5G docker error

Open corndog2000 opened this issue 1 year ago • 1 comments

I am getting this error when trying to run oai-cn5g.

Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/home/jschroedl/oai-cn5g-fed/docker-compose/conf/config.yaml" to rootfs at "/openair-nrf/etc/config.yaml": mount /home/jschroedl/oai-cn5g-fed/docker-compose/conf/config.yaml:/openair-nrf/etc/config.yaml (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type Incorrect/Unsupported executing command docker-compose -f docker-compose-basic-nrf.yaml up -d

Somewhere in the setup a file is not copied to the correct location.

corndog2000 avatar Jan 30 '24 18:01 corndog2000

Hi there! Sorry for the late response, this error may represent that the config.yaml file is not located at the corresponding directory. Are you sure that you have the config.yaml at /home/jschroedl/oai-cn5g-fed/docker-compose/conf/?

Also:

  • Check that you have the corresponding directories and also permissions needed for running docker-compose
  • Review also docker-compose-basic-nrf.yaml

I've seen that OAI have been changing stuff in the repository (links, manuals) I don't know if they've also modified some configuration files.

Anass-23 avatar Feb 05 '24 12:02 Anass-23