Git Product home page Git Product logo

docker_interface's Introduction

Docker Interface Build Status Development Status

Docker Interface (DI) is a declarative interface for building images and running commands in containers using Docker.

Installing Docker Interface

You can install Docker Interface using the following pip command (you need a python3 interpreter).

pip install docker-interface

To check that Docker Interface was installed successfully, run

di --help

Using Docker Interface

Docker Interface can be invoked from the command line. By default, it reads the configuration from the file di.yml in the current working directory and supports two commands:

  • build builds a Docker image according to the configuration
  • run runs a Docker command in a container

You can find specific examples in the examples folder in this repository. See http://docker-interface.readthedocs.io/en/latest/ for more detailed documentation, and check the schema to get a comprehensive overview of the declarative syntax supported by Docker Interface.

Contributing to Docker Interface

To contribute to the development of Docker Interface, please create a fork of the repository and send any changes as a pull request.

You can test your local installation of Docker Interface as follows.

# 0. Set up a virtual environment (optional but recommended)
# 1. Install development requirements
pip install -r requirements.txt
# 2. Install docker interface in editable mode
pip install -e .
# Run the tests
make tests

See virtualenv or conda for details on how to set up a virtual environment in step 0.

Code of conduct

This project adheres to the Open Code of Conduct. By participating, you are expected to honour this code.

docker_interface's People

Contributors

adliska avatar dizzeepascall avatar jkp avatar tillahoffmann avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.