After Synergy this year I watched a great presentation by Esther Barthel and Carsten Bruns (SYN220) where they covered MAS Stylebooks and Configuration Jobs. After getting more and more comfortable with the playbooks they graciously provided, I wanted to create my own and needed a good test environment but didn't want to impact my VPX. I could have deployed an additional VPX but figured CPX would be a good candidate since it can quickly be reset for testing. While testing with Docker, I noticed each time my CPX container was shut down it was removed from MAS since it went unreachable. I did some research and found that a CPX container could be registered with MAS saving a lot of time not having to re-register each time. In this post, I'll cover how to use Docker with Docker-compose to deploy a CPX container and automatically register with MAS.