To create a new docker image that includes the Onload installation prior to migration. All commands are run on the host.
- Identify the container (note CONTAINER ID or NAME)
# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 35bfeceb7022 centos:latest "/bin/bash" 24 hours ago Exited onload
- Create new image (this example uses the NAME value)
# docker commit -m "installed onload 201502" onload onload:v1 89e95645d5ff1fa02880dee44b433ab577f5a2715daf944fd0b393620d8253f1
- List images
# docker images REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE onload v1 89e95645d5ff 28 seconds ago 486 MB centos latest dade6cb4530a 3 days ago 224 MB