roadmap icon indicating copy to clipboard operation
roadmap copied to clipboard

Run modal improvements

Open nunocoracao opened this issue 2 years ago • 2 comments

Tell us about your request Improve the run modal in Docker Desktop to include easier access to run parameters, namely, show documentation for the image that will be run

Which service(s) is this request for? Docker Desktop

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? Having access to image documentation within the product to reduce the need to switch between Docker and a browser

Are you currently working around the issue? Switching between a browser and DD to use the run modal

Additional context N/A

nunocoracao avatar Sep 18 '23 12:09 nunocoracao

For images that define exposed ports (using EXPOSE), those ports are made available through the "Optional parameters" portion of the run dialog. It would be nice to have those elevated, making it easier to remember/define it if needed.

Use case... I'm running a web app (like a Jupyter notebook) and would like to expose the port to make it possible to access in the browser. But, it's too easy to just click "Run" without exposing the port.

mikesir87 avatar Sep 18 '23 16:09 mikesir87

Another improvement would be around volumes. It would be awesome to allow an image to somehow specify "special" directories, such as a web root that files will be served from, a directory that database initialization scripts can be dropped, where the database files are stored, etc. Then, the dialog can prompt users for the "web root", "database startup scripts", etc., making it easier to spin up the images.

There's also no way to specify a named volume through the dialog, which is useful to simply persist files (such as a database).

mikesir87 avatar Sep 18 '23 16:09 mikesir87