Compose: Allow some commands to run without full config validation

Created on 3 Sep 2015  路  9Comments  路  Source: docker/compose

This has come up a couple times in the last week (most recently in #1972).

Commands like stop, kill, ps, logs, port, restart, rm, start only need to know the list of service names, not any part of the service definition.

Commands like build, pull only need to care about one or two fields from the service definition (build and dockerfile for build, image for pull).

If we could split our config validation into two phases (a top level service name validation, and a full validation) we could support that first group of commands.

The second group would be more work, and require a three phase validation.

areconfig kinenhancement stale

Most helpful comment

+1

All 9 comments

+1

:+1:

+1

+1

+1

+1

Any progress on this?

+1

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue has been automatically closed because it had not recent activity during the stale period.

Was this page helpful?
0 / 5 - 0 ratings