April 24, 20206 yr Hi All. I am busy teaching myself docker and I need some help please. I have an image that I downladed and installed via CA. I see that the creator of the image has created the image with a specific CMD command. Is there a way for me to override this CMD command with my own custom command in Unraid? Or would I have to create a new image myself, upload it to Docker Hub and then install it via CA? Any help would be appreciated. TIA Edited April 24, 20206 yr by Darryn
April 27, 20206 yr Community Expert Are you sure you mean CMD or are you talking about ENTRYPOINT. The difference is somewhat confusing especially when you are starting out. I believe that CMD is overridden simply by putting a new CMD at the end of the docker run command. On unRAID i believe that there is a field in the template specifically for this. It might be called post arguments or something similar, i will have to look when i get home from work. Specifying a new ENTRYPOINT is also possible i believe with the --entrypoint flag in the Extra Parameters field.
Archived
This topic is now archived and is closed to further replies.