# Integration with Laravel 11 not working as expected using Docker/Sail

**URL:** <https://community.doppler.com/t/integration-with-laravel-11-not-working-as-expected-using-docker-sail/1655>\
**Category:** Need Help\
**Tags:** integration\
**Created:** [October 26, 2024, 12:50am UTC](https://community.doppler.com/t/integration-with-laravel-11-not-working-as-expected-using-docker-sail/1655 "2024-10-26T00:50:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Derek](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/derek/32/1152_2.png) [@Derek](https://community.doppler.com/u/Derek)\
**Post date:** [October 26, 2024, 12:50am UTC](https://community.doppler.com/t/integration-with-laravel-11-not-working-as-expected-using-docker-sail/1655/1 "2024-10-26T00:50:49Z")

</div>

No matter what I do I cannot get my variables to inject properly using the CLI in Laravel 11 using Sail and Docker. I have appropriately logged in to my cli and ran “doppler setup” and checked “doppler configure” and all looks to be setup correctly but still having issues.

To run the container I use the following command (no errors are given and boots fine)

```auto
doppler run -- ./vendor/bin/sail up -d

```

When I check to see if my hopefully injected value appears in the container with this command:

```auto
./vendor/bin/sail exec laravel.test env | grep MY_VARIABLE_NAME

```

Environment variable value still shows empty with no injection.

I have confirmed that doppler itself is loading the env correctly just not injecting into the container. I checked this by running this command:

```auto
doppler run -- env | grep MY_VARIABLE_NAME

```

Am I going about this wrong, or is my setup not compatible without customizing my docker image? I was under the assumption that you didn’t need to boot up Doppler in runtime if using the CLI tool and any Doppler specific commands can be controlled over a service token during runtime. Any help is greatly appreciated.
