Docker image restore issue

hello everyone i am facing an error message “httpd (pid 1) already running” after creating an image using commit command. please help me how can I rectify this error

Hello @rafi.rafay,
Try to commit with the stopped container (id) instead of the running container.