daily pastebin goal
54%
SHARE
TWEET

Untitled

a guest Jul 11th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Before Docker container starts
  2. wlan0     Link encap:Ethernet  HWaddr b8:27:eb:a8:93:73  
  3.           inet addr:192.168.0.20  Bcast:192.168.0.255  Mask:255.255.255.0
  4.           inet6 addr: fe80::ada4:3dc4:b933:7a5b/64 Scope:Link
  5.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  6.           RX packets:525 errors:0 dropped:19 overruns:0 frame:0
  7.           TX packets:411 errors:0 dropped:0 overruns:0 carrier:0
  8.           collisions:0 txqueuelen:1000
  9.           RX bytes:558627 (545.5 KiB)  TX bytes:48299 (47.1 KiB)
  10.    
  11. # After Docker container starts
  12. wlan0     Link encap:Ethernet  HWaddr b8:27:eb:a8:93:73  
  13.           inet6 addr: fe80::ada4:3dc4:b933:7a5b/64 Scope:Link
  14.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  15.           RX packets:5830 errors:0 dropped:19 overruns:0 frame:0
  16.           TX packets:4087 errors:0 dropped:0 overruns:0 carrier:0
  17.           collisions:0 txqueuelen:1000
  18.           RX bytes:5743386 (5.4 MiB)  TX bytes:566484 (553.2 KiB)
  19.    
  20. sudo curl -sSL https://get.docker.com | sh
  21.    
  22. sudo docker run -d -p 8080:80 lalyos/rpi-nginx
  23.    
  24. curl 192.168.0.20:8080
  25.    
  26. <h1>Welcome to nginx!</h1>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top