Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time



A tool that can manage one process containers on FreeBSD using jails and ZFS. 
Zocker aims to be a simple, but still functional tool to hack and learn 
the container concept. The todo list below is long, but the tool is already 
fully functional and is used to manage applications in a cluster.

Read more about Zocker from the post
There is a tutorial in the post also.

Major changes after the post

1. Zocker will automatically generate a loopback address for a container. Then 
   processes can bind to the loopback address inside containers. However, 
   loopback addresses are accessible from other containers on the same host.

2. -l option changed, now the choises are
   a. inet (was host), that tries to resolve container name to obtain an IP 
      address, in addition to a loopback address
   b. local (new), that provides a loopback address only
   c. none, that disables networking

3. Now there is an example how to create a base image using RELEASE tar 

4. Switched image transfer from an incremental snapshot on a single filesystem 
   to an incremental snapshot from a cloned filesystem. This is a backward 
   incompatible change in saved images and in images in repository. The change 
   simplifies ZFS commands. Image format version is increased from z0 to z1.

5. Improvements in the volume concept. Added automatic volumes that can be 
   created without providing the target. Eg. if '-v /mnt' is provided Zocker 
   will create a ZFS filesystem and mount it to /mnt. Volumes can also be 
   mounted from other containers using -V option.

- We don't need to store CPU architecture information in an image, as image 
  names need to differ in any case, and we can have the information in naming.

- zocker rmi can't remove tags, all tags are removed when image is deleted
- ctrl-c in rm deletes imageid but not ZFS fs
- ctrl-c in commit leaves trash snapshots to jail and unfinshed image


A tool to manage single process containers on FreeBSD using jails and ZFS




No releases published


No packages published


You can’t perform that action at this time.