Skip to content
Dmitri edited this page Sep 7, 2022 · 6 revisions

Run as Process

docker run --rm -ti -p 5000:5000 --name registry registry:2

Run as Daemon

Start container in the background:

docker run -d -p 5000:5000 --name registry registry:2

Stop container and remove all data:

docker container stop registry && docker container rm -v registry

References: