Commits on Apr 10, 2014
  1. Update erlxc

    committed Apr 10, 2014
Commits on Mar 20, 2014
  1. Update erlxc version

    committed Mar 20, 2014
Commits on Mar 7, 2014
  1. Update erlxc version

    committed Mar 7, 2014
Commits on Mar 1, 2014
Commits on Feb 28, 2014
  1. spawn/0,1,2: disable console

    No console in a spawned container so an error message is sent to the
    process mailbox.
    committed Feb 28, 2014
Commits on Feb 24, 2014
  1. Generate a unique distribution name

    If the node wasn't started in distributed mode, generate a unique node
    Also: use erlxc:name/1 to create the cookie instead of base64 encoding
    random data.
    committed Feb 24, 2014
Commits on Feb 23, 2014
  1. Formatting, use elixir stdlib

    committed Feb 23, 2014
  2. Update readme

    committed Feb 23, 2014
Commits on Feb 22, 2014
  1. Use optional parameters

    committed Feb 22, 2014
  2. Use elixir library functions

    committed Feb 22, 2014
  3. Support hardcoding IPv6 address

    committed Feb 22, 2014
  4. spawn/0,1,2: force distributed mode

    Since spawn waits for the remote erlang node to come up, the process
    will block forever if distribution wasn't enabled.
    Helpfully put the node into distributed mode if spawn is called. If the VM
    can't find the long name, the process will crash (this can happen if the
    IP address can't be reverse resolved). In that case, the node will need
    to be started in distributed mode.
    If the caller does not want the node to be part of distribution, they
    can call create and pass in the erl command line.
    committed Feb 22, 2014
  5. Add some tests

    committed Feb 22, 2014
Commits on Feb 21, 2014
  1. callopt/2: call with options

    Add a call with options for use in a pipeline. For example, the IP
    address of the container can be hardcoded to avoid DHCP requests:
        {:lists, :reverse, ['hello']}
          |> Ampule.callopt([ipaddr: ""])
    committed Feb 21, 2014
Commits on Feb 20, 2014
  1. create/0,1,2: spawn for any executable

    Move the container creation out of spawn so that any executable can be
    run as init. spawn waits for the distributed erlang node to boot before
    committed Feb 20, 2014
Commits on Feb 19, 2014
  1. boot script: reorder PATH

    Re-order the shell environment path so that local installs of erlang are
    called before the system install. Also, change to the home directory
    before boot erlang.
    committed Feb 19, 2014
  2. ampule: add a "destroy" attribute to the record

    Extend the Container record to indicate whether the container should be
    destroyed after a call.
    committed Feb 19, 2014
Commits on Feb 18, 2014
  1. Mount the application priv dir inside the container

    To share files and code with the containers, bind mount the priv dir of
    ampule inside the container. The bind mount is read-only.
    committed Feb 18, 2014
  2. spawn/2: return an elixir record

    Block in spawn for the container to boot. Avoid extra messages to the
    port on each call by constructing the nodename after the container is
    committed Feb 18, 2014
  3. ampule: indent heredoc

    committed Feb 18, 2014
  4. README: formatting

    committed Feb 18, 2014
Commits on Feb 17, 2014
  1. ampule: elixir LXC library

    committed Feb 17, 2014