-
-
Notifications
You must be signed in to change notification settings - Fork 41
Deploying AMP instances into Docker containers
BroOtti edited this page Aug 11, 2022
·
6 revisions
AMP allows you to deploy individual instances inside containers in order to isolate them from the host.
Note that ampinstmgr and ADS based instances cannot be run inside containers, as they need the ability to create them.
- Instead of manual installation, execute
bash <(wget -qO- getamp.sh) installDockeras root to install and configure Docker for AMP. Jump over to step 3 and ignore step 1 and 2. Manual installation will properly result in a wrong version of Docker. - See step 0 (Install Docker for your platform.)
- See step 0 (Add the AMP user to do the docker group by running
usermod -a -G docker amp) - In ADS, go to Configuration -> New Instance Defaults -> Create in Docker Containers
- Restart the AMP service by running
systemctl restart ampinstmgr
Now instances created via ADS will be created inside containers automatically. No additional configuration is required.
You can also use the --docker flag when creating instances via ampinstmgr. E.g. ampinstmgr --docker create rust