On macOS the file should look something like this. docker run -d -p 5000:5000 -restart=always -volume ~/.registry/storage:/var/lib/registry registry:2Įdit the /etc/hosts file on your development machine, adding the name .local on the same line as the entry for localhost. Use the docker CLI to run the registry:2 container from Docker, listening on port 5000, and persisting images in the ~/.registry/storage directory. Since PFS installations require a container registry, these instructions include running a local registry accessible from Kubernetes as well as from the host development machine at .local:5000. Container images from the distribution will be pushed to the local registry running in docker. The PFS distribution has been downloaded.The pfs CLI has been downloaded and installed.The kubectl CLI is included with Docker Desktop.īecause of a known issue, this release works with Stable release v2.0.0.3 of Docker Desktop for Mac, and with Edge releases starting at v2.0.5.0. Docker Desktop has been installed at version 2.0 or later.This topic describes how to install Pivotal Function Service (PFS) on a development machine using Docker Desktop - Mac.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |