Docker Community Forums

Share and learn in the Docker community.

Docker CLI no-op Option?

(Dan Jones) #1

Does the Docker CLI have a no-op option (–noop || --test) to test/verify the syntax is correct without actually executing the command?

(Ranjandas) #2

As of now Docker CLI doesnt have the feature to test Dockerfile before the actual build process starts.


(Dan Jones) #3

I’m also looking if there’s a way to test the create|run commands before actually executing them.