installing omnilinkbridge by docker composer

Hi all,
I'd like to install omnilinkbridge by docker composer....

I did this steps:
mkdir /opt/omnilink-bridge curl https://raw.githubusercontent.com/excaliburpartners/OmniLinkBridge/master/OmniLinkBridge/OmniLinkBridge.ini -o /opt/omnilink-bridge/OmniLinkBridge.ini vim /opt/omnilink-bridge/OmniLinkBridge.ini

I tried this inside docker-compose.yaml:

version: '3.3' services: omnilink-bridge: container_name: omnilink-bridge volumes: - './opt/omnilink-bridge:/config' - './etc/localtime:/etc/localtime:ro' network_mode: host restart: always image: excaliburpartners/omnilink-bridge

but I have this error:

enrico@debian:~/containers/omnilinkbridge$ docker-compose up -d Pulling omnilink-bridge (excaliburpartners/omnilink-bridge:)... Traceback (most recent call last): File "bin/docker-compose", line 6, in <module> File "compose/cli/main.py", line 72, in main File "compose/cli/main.py", line 128, in perform_command File "compose/cli/main.py", line 1077, in up File "compose/cli/main.py", line 1073, in up File "compose/project.py", line 548, in up File "compose/service.py", line 361, in ensure_image_exists File "compose/service.py", line 1250, in pull File "compose/progress_stream.py", line 102, in get_digest_from_pull File "compose/service.py", line 1215, in _do_pull File "site-packages/docker/api/image.py", line 396, in pull File "site-packages/docker/auth.py", line 48, in get_config_header File "site-packages/docker/auth.py", line 324, in resolve_authconfig File "site-packages/docker/auth.py", line 235, in resolve_authconfig File "site-packages/docker/auth.py", line 262, in _resolve_authconfig_credstore File "site-packages/docker/auth.py", line 287, in _get_store_instance File "site-packages/docker/credentials/store.py", line 25, in __init__ docker.credentials.errors.InitializationError: docker-credential-desktop not installed or not available in PATH [47732] Failed to execute script docker-compose

Could anyone help me?

Many thanks
 
Last edited:
thanks for your reply, I found the error:
the docker desktop not removed correctly.

this is the docker-compose.yaml:
version: '3.3' services: omnilink-bridge: container_name: omnilink-bridge volumes: - './opt/omnilink-bridge:/config' - './etc/localtime:/etc/localtime:ro' network_mode: host restart: always image: excaliburpartners/omnilink-bridge

now, when I try to start the container I see this error:
ERROR: for omnilink-bridge Cannot start service omnilink-bridge: 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/enrico/containers/omnilinkbridge/etc/localtime" to rootfs at "/etc/localtime": mount /home/enrico/containers/omnilinkbridge/etc/localtime:/etc/localtime (via /proc/self/fd/6), flags: 0x5001: 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

if I delete:
- './etc/localtime:/etc/localtime:ro'

The container starts.... so, can I remove this code or can I fix it?
 
Back
Top