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

[Setup]: Can not deploy nuclio container behind proxy! #2945

Open
1 task done
piwawa opened this issue Jun 5, 2023 · 4 comments
Open
1 task done

[Setup]: Can not deploy nuclio container behind proxy! #2945

piwawa opened this issue Jun 5, 2023 · 4 comments

Comments

@piwawa
Copy link

piwawa commented Jun 5, 2023

Setup check

Setup Method

Docker

Kubernetes Cluster Type

N/A - Docker

Nuclio Version

1.8.14-amd64

Issue Description

I just download official CVAT and had no change, after i run this:

docker compose -f docker-compose.yml -f docker-compose.dev.yml -f components/serverless/docker-compose.serverless.yml up -d --build

The deployment stucked in Git command:

image

It resulted in nucilo dashboard can't be up!

屏幕截图 2023-06-05 211757

Setup Logs

Replace this line with the setup logs.

Additional Information

No response

@TomerShor
Copy link
Contributor

Hi @piwawa ,
Could you please share the nuclio-related values in your docker-compose.serverless.yml file?
Also, please redact any sensitive information :)

@piwawa
Copy link
Author

piwawa commented Jun 6, 2023

Hi @piwawa , Could you please share the nuclio-related values in your docker-compose.serverless.yml file? Also, please redact any sensitive information :)

docker-compose.serverless.yml:

services:
nuclio:
container_name: nuclio
image: quay.io/nuclio/dashboard:1.8.14-amd64
restart: always
networks:
- cvat
volumes:
- /tmp:/tmp
- /var/run/docker.sock:/var/run/docker.sock
environment:
http_proxy: http://172.28.0.1:12345/
https_proxy: http://172.28.0.1:12345/
no_proxy: 172.28.0.1,${no_proxy:-}
NUCLIO_CHECK_FUNCTION_CONTAINERS_HEALTHINESS: 'true'
NUCLIO_DASHBOARD_DEFAULT_FUNCTION_MOUNT_MODE: 'volume'
ports:
- '8070:8070'
logging:
driver: "json-file"
options:
max-size: 100m
max-file: "3"

cvat_server:
environment:
CVAT_SERVERLESS: 1
extra_hosts:
- "host.docker.internal:host-gateway"

cvat_worker_annotation:
extra_hosts:
- "host.docker.internal:host-gateway"

I have export all proxy like this:

export https_proxy=http://127.0.0.1:12345 http_proxy=http://127.0.0.1:12345 all_proxy=socks5://127.0.0.1:12345

The proxy works fine in host:

屏幕截图 2023-06-06 141552

I have been stuck at this step for a long time, and it has exhausted me :(

@kutovoys
Copy link

I have same issue

@TomerShor
Copy link
Contributor

@piwawa @kutovoys I do not know what is the real issue without further logs of the container failures.

I can tell that you are using a very old version of nuclio (1.8.14), and not the latest version - https://github.com/nuclio/nuclio/releases/tag/1.12.3.
This along with previous versions in-between include many fixes regarding docker, and might fix the problem.

Note that when using later versions ( > 1.10.0) you do not need this volume mount: - /tmp:/tmp.

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

3 participants