rancher get started 1

rancher get started

sudo docker run -d --restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher

Here is what the above code is Doing:
1. Pulling the rancher/rancher image from Docker Hub
2. Running the rancher/rancher image as a container
3. Exposing the container’s ports 80 and 443 to the host’s ports 80 and 443
4. Setting the container to restart unless it’s stopped

Similar Posts