Windows:
-Go to Docker Desktop for Windows and
download the installer.
-Run the installer and follow the on-
screen instructions.
-Once Docker is installed, restart the
computer if prompted.
macOS:
-Go to Docker Desktop for macOS and
download the installer.
-Open the downloaded .dmg file and drag
Docker to the Applications folder.
-Open Docker from the Applications
folder and follow the instructions to
complete the installation.
2. Start Docker
On Windows/macOS, Docker should start automatically after installation. If not, open the Docker Desktop application.
3. Download the Image from Docker Hub
Once Docker is installed and running, open a terminal (CMD or PowerShell on Windows, Terminal on macOS/Linux) and run the following command to download the image from Docker Hub:
docker pull erickuce/rubycontainer:latest
This will download the image you uploaded to Docker Hub on the current computer.
4. Run the Container
After the image is downloaded, run the container using the following command:
docker run --name rubycontainer -p 4567:4567 erickuce/rubycontainer:latest
-Cannot access http://localhost:4567:
-Make sure Docker is running.
-Check that no other service is using port 4567.
-If you are on a restricted network (such as a corporate network), check firewall settings.
Content type
Image
Digest
sha256:eaa15465d…
Size
374.6 MB
Last updated
almost 2 years ago
docker pull erickuce/rubycontainer