File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -188,15 +188,16 @@ you will not need to install PostgreSQL or any of its dependencies.
188188 -d \
189189 -e POSTGRES_PASSWORD=some-password-that-you-make-up \
190190 -v $uta_v:/var/lib/postgresql/data \
191- -v $(pwd)/$uta_v.pgd.gz: /tmp/$uta_v.pgd.gz:ro \
191+ --mount type=bind,source=" $(pwd)/$uta_v.pgd.gz",target=" /tmp/$uta_v.pgd.gz",readonly \
192192 --name $uta_v \
193193 -p 127.0.0.1:5432:5432 \
194194 biocommons/uta:$uta_v
195195
196196 The first time you run this image, it will initialize a PostgreSQL database from the snapshot.
197197
198- The next time you run the image, you do not need to pass ` -v $(pwd)/$uta_v.pgd.gz:/tmp/$uta_v.pgd.gz:ro ` ,
199- since the database is already initialized.
198+ On subsequent runs, you can run the container by:
199+
200+ $ docker start $uta_v
200201
201202 ` -d ` starts the container in daemon (background) mode. To see
202203 progress:
You can’t perform that action at this time.
0 commit comments