-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstart.bat
67 lines (40 loc) · 1.56 KB
/
start.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
C:
"C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe" --port 27017 --dbpath C:\data\db
Taskkill /IM node.exe /F
npm install bootstrap@next
npm install bootstrap@latest
npm view bootstrap dist-tags
netstat -a | findStr "8080"
Find the process name by pid
tasklist /fi "pid eq 2216"
docker image prune -a
kill all image not attache to container
# Build client image with tag "weatherclient"
docker build -f Dockerfile.dev -t weatherclient .
# run client image "weatherclient" in a container named "wcinstance"
docker run -p 4200:4200 --name wcinstance weatherclient
# Build server api image with tag "weatherserver"
docker build -f Dockerfile.dev -t weatherserver .
# run server api image "weatherserver" in a container named "wsinstance"
docker run -p 30001:30001 --name wsinstance weatherserver
docker ps
docker ps -a
docker image ls
docker-compose up --build
docker-compose up
docker volume ls
docker volume inspect mongodatadocker
https://docs.docker.com/storage/volumes/
#remove all containers, with powershell
docker rm -f $(docker ps -a -q)
docker-compose down
#Kill Containers with status is created, with powershell
docker rm -f $(docker ps --filter status=created -q)
#Kill Containers with status is running/up, with powershell
docker rm -f $(docker ps --filter status=running -q)
https://github.com/docker/hub-feedback/issues/1255
kubectl get pods --all-namespaces
kubectl get all --all-namespaces
kubectl delete --all pods --namespace=weatherapp
kubectl delete --all deployments --namespace=weatherapp
kubectl delete --all services --namespace=weatherapp