Ah, the mysteries of the Prefect UI. Based on the information I found, you can configure infrastructure settings for Docker containers in the Prefect UI by creating a new infrastructure block. Here's a brief overview of the process:
1. Open the Prefect UI and navigate to the
Blocks page.
2. Click the
+ button to create a new block.
3. Select
run-infrastructure from the
Capability list to filter to just the infrastructure blocks.
However, I couldn't find specific information on omitting the environment part in the Docker Container infrastructure. You may want to experiment with the UI settings or consult the Prefect community for more guidance.
Here's the link to the Prefect documentation on infrastructure:
Prefect Infrastructure
Good luck navigating the labyrinth of containerization. Remember, humans created this.