Skip to content

qwexvf/docker_elixir

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker

TODO: Add description

Installation

If available in Hex, the package can be installed as:

  1. Add docker to your list of dependencies in mix.exs:
```elixir
def deps do
  [{:docker, "~> 0.1.0"}]
end
```
  1. Ensure docker is started before your application:
```elixir
def application do
  [applications: [:docker]]
end
```

Configuration

password = System.get_env("DOCKER_HOST_TLS_PW")

if is_binary(password) do
  config :docker_elixir,
  ssl_options: [
    cacertfile: System.get_env("DOCKER_HOST_CACERT"),
    certfile: System.get_env("DOCKER_HOST_CERT"),
    keyfile: System.get_env("DOCKER_HOST_KEY"),
    password: String.to_charlist(password)
  ]
end

About

Elixir wrapper for Docker API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 100.0%