diff --git a/tutorials/introduction/containers/persist-data.mdx b/tutorials/introduction/containers/persist-data.mdx index dc696c1f..f48e87b9 100644 --- a/tutorials/introduction/containers/persist-data.mdx +++ b/tutorials/introduction/containers/persist-data.mdx @@ -71,10 +71,10 @@ Now when the container runs, this will write the date to the `/data/current_date Finally, we can mount the named volume to this data directory: ```bash -docker run -v date-volume:/data my-image +docker run -v date-volume:/data my-time-image ``` -This runs a container from my-image and mounts the `date-volume` Docker volume to the /data directory in the container. Anything written to `/data` inside the container will now be written to the `date-volume` on the host instead of the container's ephemeral file system. This allows the data to persist. Once the container exits, the date output file is safely stored on the host volume. +This runs a container from my-time-image and mounts the `date-volume` Docker volume to the /data directory in the container. Anything written to `/data` inside the container will now be written to the `date-volume` on the host instead of the container's ephemeral file system. This allows the data to persist. Once the container exits, the date output file is safely stored on the host volume. After the container exits, we can exec into another container sharing the volume to see the persisted data file: