Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
AbahDoku Custom
Serba-serbi Windows
AbahDoku Wiki
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Docker
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Install Portainer== Instalasi Portainer untuk manajemen container di dalam docker dengan UI. Jalankan command installasi : docker pull portainer/portainer mkdir /opt/portainer /data docker run -d -p 9000:9000 --restart always -v /var/run/docker.sock:/var/run/docker.sock -v /opt/portainer:/data portainer/portainer Eksekusi di browser : <IP_server>:<port_portainer> Contoh : 192.168.1.100:9000 [[File:Screen Shot 2023-09-17 at 20.16.47.png|200px|thumb|left|Caption]] ===Install : MariaDB=== Download menggunakan docker pull docker pull mariadb:10.7.1 Pastikan image mariadb sudah berhasil di download docker images | grep mariadb Jalankan mariadb docker run -d --name mariadb -v /etc/localtime:/etc/localtime:ro -v mysqldata:/var/lib/mysql --restart always -e MYSQL_ROOT_PASSWORD=Rahasia -p 3306:3306 mariadb:10.7.1 Cek versi mariadb docker exec -it mariadb mysql --version ===Install : phpMyAdmin=== Download menggunakan dokcer pull docker pull phpmyadmin:5.1.3 Pastikan image phpMyAdmin sudah berhasil di download docker images | grep phpmyadmin Jalankan phpMyAdmin docker run --name my-phpmyadmin -d --link mariadb:db --restart always -p 8080:80 phpmyadmin:5.1.3 ===Install : nginx-php7=== Download menggunakan dokcer pull docker pull skiychan/nginx-php7:4.25.2 Pastikan image nginx-php7 sudah berhasil di download docker images | grep nginx-php7 Jalankan nginx-php7 docker run -d -p 8888:80 -v /data/www:/data/www root --name php7 --link mariadb:mariadb skiychan/nginx-php7:4.25.2 Untuk mengetahui container yang sudah berjalan, gunakan docker ps Jika port yang digunakan digunakan tidak bentrok, maka proses running akan berhasil. Cek dan pastikan port yang digunakan sudah listen/terbuka. netstat -plnt Jalankan phpMyAdmin melalui browser, masukkan user dan password sesuai konfigurasi yang sudah dibuat saat proses install mariadb <localhost atau ip_server>:8080 contoh localhost:8080 atau 192.168.1.100:8080
Summary:
Please note that all contributions to AbahDoku Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
AbahDoku Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width