I’ve pushed version 1.0.0 of Docker spoon. I moved the version to 1.0 for a few reasons – the release is pretty significant:
- This release pulls in a version of docker-api (0.17) which is not backward compatible with older docker versions. If you need to run with older versions of Docker, use 0.8.x.
- I’ve added a ton of test coverage using cucumber and aruba. The tests require a local docker daemon but otherwise should be portable. This is the most thorough coverage spoon has ever had.
- The original framework used to build spoon – methadone – has been completely removed. This was done because it was getting in the way of setting up a correct default / config file / command line argument parsing hierarchy.
So what’s new?
- New commands including
--kill
and--restart
to ease stopping spoon containers without destroying them or having to use the docker cli. - Support for config/cli defined port specifications both for docker-forwarded ports or ssh-forwarded ports. This supports both dynamic and 1:1 port mappings for docker ports.
- Privileged mode support when creating new instances.
- Config support for a variety of docker params including:
- cpu shares
- memory limits
- dns servers
- volume mappings
- privileged mode
The release has been tested against Docker 1.4 and is known not to work with docker 1.2.