This tutorial helps you run the latest Docker version on HostJane cloud computes. Docker can run on Ubuntu and CentOS.
- 1. Get server IP and root password
- 2. Login with SSH
- 3. The docker user
After successful payment is approved, your server will be set up within 2 minutes.
Bookmark login: https://console.hostjane.com/client/login
In your Dashboard under Services, find your Docker server.
|Package||Label||Term||Date Created||Date Renews||Options|
|Docker||host.domain.com||1 month @ $0.00||Jan 1||Feb 1||Manage|
We offer 24×7×365 support
If you cannot see your Docker service, open a support case.
This is the button in the last column under Services.
Here is the next screen that will display:
|Creation Date||Next Invoice|
|Jan 1||Feb 1|
|Billing Cycle||Recurring Amount|
The Main IP is your virtual machine’s IP address.
The Default Password is the root password.
For security, HostJane does not send this to you by email.
You must login to your hosting account to review these credentials.
Login to your server with PuTTY on Windows or an OpenSSH client in linux and MacOS devices:
docker run hello-world
The server will connect to Docker and download the latest image:
For security reasons, since it’s best not to run everyday administrative tasks as the root, we automatically create a docker user and docker group for you.
The docker user can run containers but has limited privileges.
You can switch to this user by typing the following on the command line:
su - docker
Add any other user to the docker group to run containers with that user.
To find more information on running Docker containers, go to Red Hat’s guide.
You now have the basic information to start using your new cloud server running Docker on your chosen Linux distribution.