Started by Murray ThomsonOct 30, 2021

Open
Persist container/app in docker desktop list

0 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 0 VIEWES SHARE

Just started out with docker on home windows. It is possibly something conceptual i do no longer get, but let me describe my issue.

I set up docker desktop, pulled a few photographs like sq. Server, mysql, redis. All works satisfactory. My query is set the listing of packing containers/apps inside the docker computer. All the ones above stated packages seem in that list and i will just easily start/prevent the ones by way of clicking a begin/forestall button that appears once I hover over them in that list. If a container is stopped the icon turns grey and if strolling it's green.

Now I've construct a restull webapi in visible studio. I'm able to construct the docker picture from it and next run it in docker by the usage of "docker run --rm -it -p 44307:80 -p 44308:443 --detach " and a group of other parameters from a command line. Works simply excellent and the container appears inside the boxes / apps listing in docker desktop with a green icon.

But if I stop the field, the icon does not flip grey, the line completely disappears. If I want to start it again, I must run the command from the command line once more.

My question it this: how do I make that field stay in that boxes / apps list so I will restart it again with the proper parameters by simply using that handy play button and no longer having to type all the ones parameters?

0 Replies

You must be Logged in to reply
Techiio

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

facebooklinkdeintwitter

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Copyright techiio.com @2020 Kolkata, India
made with by Abhishek & Priyanka Jalan
Copyright techiio.com @2020
made with by Abhishek & Priyanka Jalan