# Push

To upload a repository, make sure you have installed a desktop docker on your computer. Use an account with the role Creator to view keywords used in Members.

## Install Docker on Computer

Here are the steps to install Docker on a computer:

* Download Docker Desktop to customize the operating system used on your computer. In this usage guide, use the Windows operating system. Wait for the download to complete.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.58%20push.png" alt=""><figcaption><p>Docker Dekstop Page</p></figcaption></figure>

* *Install the downloaded Docker Dekstop.*

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.59%20push.png" alt=""><figcaption><p>Docker Dekstop Download</p></figcaption></figure>

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.60%20push.png" alt=""><figcaption><p>Docker Dekstop Installing</p></figcaption></figure>

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.61%20push.png" alt=""><figcaption><p>Docker Dekstop Installing</p></figcaption></figure>

* *On the Deka Registry page of the Cloudka portal service.*

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.62%20show-pass.png" alt=""><figcaption><p>Deka Registry Page</p></figcaption></figure>

* On the Members tab click the More button and click Show Password.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.63%20showpass.png" alt=""><figcaption><p>Push Repositositories</p></figcaption></figure>

* Enter a password to log in to the Cloudka portal service and click the Confirm button to display the password that the Register Member uses.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.64%20showpass.png" alt=""><figcaption><p>Push Repositositories (b)</p></figcaption></figure>

* Copy the displayed password.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.65%20showpass.png" alt=""><figcaption><p>Push Repositositories (c)</p></figcaption></figure>

* Run a Docker Desktop that is already installed on the computer.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.66%20run.png" alt=""><figcaption><p>Docker Dekstop</p></figcaption></figure>

* In Docker Desktop click Sign In.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.67%20signin.png" alt=""><figcaption><p>Docker Dekstop</p></figcaption></figure>

* Enter the name, password obtained in the member and click Continue to continue the process of logging into Docker Desktop.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.68%20signin.png" alt=""><figcaption><p>Docker Dekstop</p></figcaption></figure>

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.69%20signin.png" alt=""><figcaption><p>Docker Dekstop</p></figcaption></figure>

* Make sure you already have a repository to push to the Deka Rock repository.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.70%20docker.png" alt=""><figcaption><p>Docker Dekstop</p></figcaption></figure>

## Push Docker Image Repositories

Here are the steps to upload a repository in the Cloudka portal service:

* On the Register Deka page click the Overview button to view the syntax used to create the docker image.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.71%20pushrepo.png" alt=""><figcaption><p>Command Docker Image (a)</p></figcaption></figure>

* Open a Command Prompt and type the following syntax to log in to the docker. Enter the username and password.

```linux
docker login https://dekaregistry.cloudeka.id
```

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.72%20pushrepo.png" alt=""><figcaption><p>Command Docker Image (b)</p></figcaption></figure>

* To view the repositories, and tags available locally on your computer by running the following syntax.

```linux
docker image ls
```

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.73%20pushrepo.png" alt=""><figcaption><p>Command Docker Image (c)</p></figcaption></figure>

* Give the image a tag by running the following syntax.

```linux
docker tag REPOSITORY[:TAG] dekaregistry.cloudeka.id/cloudeka-demo/REPOSITORY[:TAG]
```

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.74pushrepo.png" alt=""><figcaption><p>Command Docker Image (d)</p></figcaption></figure>

* Run the following syntax to push the image to your repository in the Deka Registry in the Cloudka portal service.

```linux
docker push dekaregistry.cloudeka.id/cloudeka-demo/REPOSITORY[:TAG]
```

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.75%20pushrepo.png" alt=""><figcaption><p>Command Docker Image (e)</p></figcaption></figure>

* Successfully pushed images are available on the Repositories tab of your Cloudka portal service.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/18dekaregistry/18.76%20pushrepo.png" alt=""><figcaption><p>Push Repositories Success</p></figcaption></figure>
