1. First, you need to find the ID of your container. Run the following command:
```
docker ps
```
1. Once you have your container ID, you can create an image using docker commit. The syntax for docker commit is as follows:
```
docker commit [OPTIONS] CONTAINER [REPOSITORY[:TAG]]
```
1. For example, let’s say your container ID was “c3f279d17e0a” and you want to create an image named “my_new_image”. You would run:
```
docker commit c3f279d17e0a my_new_image
```
This will create a new image which you will be able to see in the list of your docker images (run `docker images` to see the list).
Remember, now the new docker image is saved on your local system. If you want to use it on other systems, you will need to push it to a Docker registry like DockerHub.
Important: This captures all the changes you made in the container into the image but it doesn’t include any data that is inside volumes. So if you have any important data please make sure you have it in a host or managed volumes.
Note: Using `docker commit` isn’t necessarily a recommended way as it’s not reproducible. It’s a good tool for quick and dirty exporting of a container, but the preferred method is to build an image from a Dockerfile.