Expand environment variables for Container struct