Posts

Showing posts from December, 2017

cara menggunakan docker

Setelah paham apa itu docker dan cheet sheet nya , yuks sekarang kita gunakan , sebagai contoh saya coba untuk install ubuntu ya 1. Download template container docker pull ubuntu ~$ docker pull ubuntu Unable to find image 'ubuntu:latest' locally latest: Pulling from library/ubuntu 660c48dd555d: Downloading 4c7380416e78: Download complete 421e436b5f80: Download complete e4ce6c3651b3: Download complete 660c48dd555d: Pull complete 4c7380416e78: Pull complete 421e436b5f80: Pull complete e4ce6c3651b3: Pull complete be588e74bd34: Pull complete Digest: sha256:7c67a2206d3c04703e5c23518707bdd4916c057562dd51c74b99b2ba26af0f79 Status: Downloaded newer image for ubuntu:latest 2. Cek Hasil download $ docker images REPOSITORY TAG IMAGE ID CREATED SIZE yudi/centos_httpd latest 68fb9ae28cf8 5 hours ago 322MB centos latest 3fa822599e10 13 days ago 204MB hello-w...

Docker Cheat Shett

Docker Cheat Sheet Why Docker "With Docker, developers can build any app in any language using any toolchain. “Dockerized” apps are completely portable and can run anywhere - colleagues’ OS X and Windows laptops, QA servers running Ubuntu in the cloud, and production data center VMs running Red Hat. Developers can get going quickly by starting with one of the 13,000+ apps available on Docker Hub. Docker manages and tracks changes and dependencies, making it easier for sysadmins to understand how the apps that developers build work. And with Docker Hub, developers can automate their build pipeline and share artifacts with collaborators through public or private repositories. Docker helps developers build and ship higher-quality applications, faster." --  What is Docker Containers Your basic isolated Docker process . Containers are to Virtual Machines as threads are to processes. Or you can think of them as chroots on steroids. Lifecycle docker create  ...