rancher

2018/5/20 posted in  OPS

30531939036831699

docker run -d --name=rancher --restart=unless-stopped \
  -p 8080:80 -p 8443:443 \
  -v ~/rancher:/var/lib/rancher
  rancher/rancher:latest
  
docker run -d --name=rancher --restart=unless-stopped \
  -p 8080:80 -p 8443:443 \
  rancher/rancher:latest
  
docker run -d --name=rancher --restart=unless-stopped \
  -p 8080:80 -p 8443:443 \
  -v ~/rancher:/var/lib/rancher \
  rancher/rancher:stable
  
docker run -d --name=rancher --restart=unless-stopped \
  -p 8880:80 -p 8843:443 \
  -v ~/rancher:/var/lib/rancher \
  rancher/rancher:stable
  
https://172.16.123.1:8843/v3/import/v2d7znsxv8vvjzfl6gcwkglvkvnm759f98zt227h9plzm9vdwlh56g.yaml

image-20181127123429327-3293269

curl --insecure -sfL https://172.16.123.1:8443/v3/import/kpb77vt4zl64bdxgz4jpxt2s2x8h94ng2tdlfqcmntv762vc4bf987.yaml | kubectl apply -f -

image-20181127125127117-3294287

curl -X "POST" "http://127.0.0.1:8080/order/get-list" \
     -H 'Content-Type: application/x-www-form-urlencoded' \
     --data-urlencode "user_id=9" \
     --data-urlencode "status=1,2,3,4,5,6" \
     --data-urlencode "order_type=1"