Docker Config For use by apps

Is there a way to store config values, for example environment variables, that are usable by any container that are spun up from an image.

The only examples I’ve found in the documentation relates to docker swarm.

I am interested in config properties that I can access from an (java/spring boot) app running inside a container, not part of a swarm.

ENV is the command I needed. Close this please.