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

[Installation]: Issue in installing MLRun locally on ubuntu18.04 #3218

Open
1 task done
Charlie258 opened this issue Mar 6, 2023 · 1 comment
Open
1 task done

Comments

@Charlie258
Copy link

Charlie258 commented Mar 6, 2023

Installation check

Installation OS

Linux

Installation Method

Docker

Kubernetes Cluster Type

N/A - Docker

MLRun CE Version

nope

Issue Description

Hi,

I am following instructions to install MLRun locally on ubuntu18.04 as described in page https://docs.mlrun.org/en/latest/install/local-docker.html with MLRun Jupyter image.

export HOST_IP=
export SHARED_DIR=~/mlrun-data
mkdir -p $SHARED_DIR
docker-compose -f compose.with-jupyter.yaml up -d results in below error.
ERROR: Invalid interpolation format for "init_nuclio" option in service "services": "mkdir -p /etc/nuclio/config/platform;
cat << EOF | tee /etc/nuclio/config/platform/platform.yaml
runtime:
common:
env:
MLRUN_DBPATH: http://${HOST_IP:?err}:8080
local:
defaultFunctionContainerNetworkName: mlrun
defaultFunctionRestartPolicy:
name: always
maxRetryCount: 0
defaultFunctionVolumes:
- volume:
name: mlrun-stuff
hostPath:
path: ${SHARED_DIR:?err}
volumeMount:
name: mlrun-stuff
mountPath: /home/jovyan/data/
logger:
sinks:
myStdoutLoggerSink:
kind: stdout
system:
- level: debug
sink: myStdoutLoggerSink
functions:
- level: debug
sink: myStdoutLoggerSink
EOF
"

Installation Logs

ERROR: Invalid interpolation format for "init_nuclio" option in service "services": "mkdir -p /etc/nuclio/config/platform;
cat << EOF | tee /etc/nuclio/config/platform/platform.yaml
runtime:
common:
env:
MLRUN_DBPATH: http://${HOST_IP:?err}:8080
local:
defaultFunctionContainerNetworkName: mlrun
defaultFunctionRestartPolicy:
name: always
maxRetryCount: 0
defaultFunctionVolumes:
- volume:
name: mlrun-stuff
hostPath:
path: ${SHARED_DIR:?err}
volumeMount:
name: mlrun-stuff
mountPath: /home/jovyan/data/
logger:
sinks:
myStdoutLoggerSink:
kind: stdout
system:
- level: debug
sink: myStdoutLoggerSink
functions:
- level: debug
sink: myStdoutLoggerSink
EOF
"

Additional Information

No response

@Charlie258
Copy link
Author

When I solve the problem above,escape the $ with $$,another ERROR occur:

ERROR: The Compose file './compose.with-jupyter.yaml' is invalid because:
Unsupported config option for services: 'jupyter'
Unsupported config option for networks: 'mlrun'
Unsupported config option for volumes: 'nuclio-platform-config'

So how can I solve the problem?

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

1 participant