Question

about container

Posted December 22, 2021 121 views

How can I remove or rename the existing container

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
2 answers

Hey there!

Can you clarify what service you are using to run this container? If you are referring to an App Platform container, you can rename a container by downloading and editing the components name in your app spec. You would then re-upload that edited app spec to update the components name.

Nate

Hi there,

In addition to what has already been mentioned, in case that you are referring to Docker, you could rename a container using the following command:

sudo docker rename old_name new_name

Regards,
Bobby