Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

mslinn/docker-java-fun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-java-fun

Build Status GitHub version

Fooling around with Spotify's docker-client library.

Built with Scala 2.12, which requires Java 8+.

Running the Program

Before running the program, control the machine that docker client connects to by setting DOCKER_HOST. It defaults to localhost, so there is no need to type this:

export DOCKER_HOST=localhost

Running from SBT

Right now this is the only way:

$ sbt run

Run Script

B0rked. Maybe I'll figure out the problem with sbt-assembly at some point.

The bin/run Bash script assembles this project into a fat jar and runs it. Sample usage, which runs the Main entry point in `src/main/scala/Main.scala:

$ bin/run Main

The -j option forces a rebuild of the fat jar. Use it after modifying the source code.

$ bin/run -j Main

Scaladoc

Here.

About

Fooling around with Spotify's docker client for Java from Scala

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published