Giter VIP home page Giter VIP logo

doclipser's Introduction

Edit, build, run Docker containers from Eclipse Circle CI Download

image

image

Features

image

Currently supported features are:

  • Dockerfile syntax highlighting and autocomplete
  • Support for the following Docker commands: build, run, ps, logs, rm

Even if this is still a working progress project, we believe some people can still find it useful. We plan to provide support for Docker compose yml files too (and therefore volumes and links).

Although this plugin focus on running containers through the support of Dockerfiles and Compose yml files in eclipse, there is another interesting project from JBoss that has a slightly different approach : it provides a more advanced management of Docker images and containers without Dockerfiles support : http://tools.jboss.org/blog/2015-03-30-Eclipse_Docker_Tooling.html.

Installation

Plugin Update site: https://dl.bintray.com/zenika/doclipser

To install the plugin follow the usual Eclipse plugin install procedure:
1. Start Eclipse

Select Help > Install New Software... In the dialog that appears, enter the update site URL into the "Work with" text box: https://dl.bintray.com/zenika/doclipser And press the enter key.

2. Select the checkbock next to the component you want to install and click Next.
3. Review the features that you are about to install. Click Next.
4. Read the license agreements and then select I accept the terms of the license agreements. Click Finish.
5. Click OK on the Security Warning.
6. You will then be asked if you would like to restart Eclipse. Click Restart Now.

Configuration

In order to run Docker commands doclipser need to be configured to connect to a running Docker engine.

On Linux

Just make sure you can run Docker without sudo (i.e. user belongs to docker group)

On MacOS or Windows (or when Docker is on a remote host)

Edit doclipser configuration file: <Eclipse Install Directory>/plugins/com.zenika.doclipser.api_<Version>/docker.properties. You will need to set docker.api.uri and docker.api.cert.path properties

Contributing

Prerequisites

  1. JDK 7 or above
  2. Maven 3
  3. Eclipse Modeling Tools with the following plugins :
    • m2e - Maven Integration for Eclipse
    • Xtext Complete SDK
    • E4 Tools (optional)

Workflow

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Build the project once to generate java code from xtext dsl definition:
    cd com.zenika.doclipser.parent/ &&  export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m" && mvn clean install
  4. Import the projects into eclipse as Existing Maven Projects
  5. To test and debug go to Run Configurations, select RunDoclipser and Run
  6. Commit your changes: git commit -am 'Add some feature'
  7. Push to the branch: git push origin my-new-feature
  8. Submit a pull request :D

Credits

License

Eclipse Public License v1.0

doclipser's People

Contributors

l0rd avatar sebbrousse avatar vdemeester avatar

Watchers

James Cloos avatar tanompong.c 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.