Title: Update &#8211; Support environment-variable based sandbox/cli (batch) container detection
Author: WordPress VIP Documentation
Published: March 25, 2021
Last modified: August 5, 2025

---

 1. [Changelog](https://docs.wpvip.com/changelog/)
 2. [VIP MU plugins [Production]](https://docs.wpvip.com/changelog/vip-mu-plugins-production/)
 3. Update – Support environment-variable based sandbox/cli (batch) container detection

# Update – Support environment-variable based sandbox/cli (batch) container detection

---

 25 March 2021

21:04:40 GMT+0000

 [ VIP MU plugins [Production] ](https://docs.wpvip.com/changelog/vip-mu-plugins-production/)

 [ Permalink  ](https://docs.wpvip.com/changelog/vip-mu-plugins-production/update-support-environment-variable-based-sandbox-cli-batch-container-detection/)

Switches to the new Environment class for determining sandbox and CLI container 
status, which can now come from environment variables in addition to the hostname.

[https://github.com/Automattic/vip-go-mu-plugins/pull/2042](https://github.com/Automattic/vip-go-mu-plugins/pull/2042)