This repository allows you to create a Python 3.8 Snowflake Snowpark containerized development environment.
Docker or Podman must be installed.
This container will not build using the Apple silicon platform due to issues with the underlying software.
docker build -t snowpark-notebook:latest .
If using Podman to build the container use the following commands:
export BUILDAH_FORMAT=docker
podman build -t snowpark-notebook:latest .
Use one of the commands, depending upon the environment, to launch the container. Your current directory is where the container will store any files you create in the container.
docker run -it -p 8888:8888 -v "${PWD}":/home/jovyan/work snowpark-notebook:latest
If using Podman
podman run -it -p 8888:8888 -v "${PWD}":/home/jovyan/work snowpark-notebook:latest
docker run -it -p 8888:8888 -v %cd%:/home/jovyan/work snowpark-notebook:latest
If using Podman
podman run -it -p 8888:8888 -v %cd%:/home/jovyan/work snowpark-notebook:latest
docker run -it -p 8888:8888 -v ${PWD}:/home/jovyan/work snowpark-notebook:latest
If using Podman
podman run -it -p 8888:8888 -v ${PWD}:/home/jovyan/work snowpark-notebook:latest
Use the URL output or paste the token into the URL below and then paste the URL into your browser.
http://localhost:8888/lab?token={token_written_in_the_console}