Professional Documents
Culture Documents
Dokumentasi Modul C LKS Jabar 2021 Rev. (0.0.1) + Gambar
Dokumentasi Modul C LKS Jabar 2021 Rev. (0.0.1) + Gambar
NetDevOps
No Question Answer
root@debian:~#nano /etc/network/interfaces
allow-hotplug enp0s3
iface enp0s3 inet dhcp
1 IP Address
root@debian:~#nano /etc/apt/sources.list
apt-get update
apt-get install apt-transport-https ca-certificates
curl gnupg2 software-properties-common -y
curl -fsSL https://download.docker.com/linux/debian
/gpg | apt-key add -
5 Edit File install-docker.sh
add-apt-repository "deb [arch=amd64] https://downlo
ad.docker.com/linux/debian $(lsb_release -cs) stabl
e"
apt-get update
apt-cache policy docker-ce
apt-get install docker-ce -y
8 Install-docker.sh
<html>
<head>
<title>Sample app</title>
</head>
<body>
<h1>You are calling me from {{request.remote_addr}}</h1>
</body>
</html>
14 Edit File index.html
172.17.0.2:8080
28 Go to container docker