kedro-docker | Docker makes it easy to package Kedro projects | Continuous Deployment library
kandi X-RAY | kedro-docker Summary
kandi X-RAY | kedro-docker Summary
Kedro-Docker makes it easy to package Kedro projects with Docker.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Install plugin
- Run a command
- Call a shell command
- Sets up the environment with the given venv_dir
- Runs a jupyter notebook
- Compose Docker run arguments
- List docker volumes
- Add Jupyter options to run_args
- Report port number
- Read stderr from the result
- Checks if docker images are created
- Execute kedro command
- Run docker build
- Check that the message is printed on stdout
- Read the stdout from stdout
- Image callback
- Execute kedro target
- Wrapper for docker run
- Wrapper around docker run
- Check if a service is available
- Run a Docker container
- Build docker container
- Create a project from a config file
- Check if a Jupyter is available on the given port
- Run a jupyter notebook
- Compose the Docker run command
kedro-docker Key Features
kedro-docker Examples and Code Snippets
Community Discussions
Trending Discussions on kedro-docker
QUESTION
I'd like to bundle the Python package kedro
which provides a command line interface (kedro
). In addition I'd like to put the Python package kedro-docker
into the snap as well. This second package extends the first package's command line interface (kedro docker
). But when I create a snap with the snapcraft.yaml
below I get only the command line interface of the first package:
ANSWER
Answered 2020-May-01 at 19:52I'm no expert and never used snapcraft
, therefore just a hypothesis here. Kedro-Docker exposes only project-specific commands that won't show up unless you are in the root of the project. So if you run kedro new
and then cd && kedro
, you should (ideally) see a docker
group of commands:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install kedro-docker
Creates a template Dockerfile and .dockerignore in the project root directory if those files don't already exist
Builds the project image using the Dockerfile from the project root directory
--uid - optional integer User ID for kedro user inside the container. Defaults to the current user's UID
--gid - optional integer Group ID for kedro user inside the container. Defaults to the current user's GID
--image - optional Docker image tag. Defaults to the project directory name
--docker-args - optional string containing extra options for docker build command
--with-spark - optional flag to create an image additionally with Spark and Hadoop
--base-image - optional base Docker image. Default is Debian buster with the current environment Python version, e.g. python:3.7-buster
-h, --help - show command help and exit.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page