The CloneDeploy Docker image and the CloneDeploy Proxy DHCP image both require macvlan networking
Before creating the container, be sure that your Docker environment supports macvlan networking. Port forwarding / NAT is not an ideal fit for CloneDeploy due to DHCP/Proxy requests, Multicasting, etc, and the macvlan enables CloneDeploy to be accessed directly via a static ip. It is also very important to have your storage setup properly before you start uploading images, otherwise you will most likely use a lot of storage somewhere you were not supposed to.
Download Docker Image
docker pull clonedeploy/clonedeploy:latest
docker run --net=[macvlannetwork] -it --name clonedeploy --ip=[ip address] clonedeploy/clonedeploy:latest
This is where the CloneDeploy web application resides as well as some config files and logs.
The CloneDeploy database is stored here. A separate MySQL container is not currently supported.
The CloneDeploy Tftp folder. Boot Menu’s, Boot Images, and Kernels are stored here.
The CloneDeploy Image folder. This is where the images captured from the client computer are stored.
Everytime the container is started, the SMB is share is recreated. The read/write password is set here. If this value is not filled in, the default value of rwpass is used. If this value is changed after the intial setup, you will need to update your distribution point.
Everytime the container is started, the SMB is share is recreated. The read only password is set here. If this value is not filled in, the default value of ropass is used. If this value is changed after the intial setup, you will need to update your distribution point.
If database directory is empty the root password will be initialized with this value. If it is empty, a random password is generated. This value has no affect if the database directory is not empty.
Post Install Setup
- Open the CloneDeploy Web Interface
- Login with
clonedeploy / password
- Upon login you will be greeted with the Initial Setup Page
- Fill out the fields – use the rw_smb_pass and ro_smb_pass variable values – and click Finalize Setup
- Docker has an issue where the default boot menu doesn’t get created automatically. Select Admin Settings->Boot Menu->Create Boot Files to fix
If you want to try Proxy DHCP, I have also created a ProxyDHCP image.
Download Proxy DHCP Image
docker pull clonedeploy/proxydhcp:latest
docker run --net=[macvlannetwork] --ip=[ip address] --name=proxydhcp -e NEXT_SERVER=[clonedeploy server ip] -e SERVER_IDENTIFIER_OVERRIDE =[same as ip address] -e CLONEDEPLOY_BASE_URL=http://[clonedeploy server ip]/clonedeploy/ clonedeploy/proxydhcp:latest
These variables are all explained in the Proxy DHCP documentation
RUN_TYPE (daemon or debug) – daemon is default