mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-30 21:35:11 +08:00
removed sudo from docker calls, requires group membership now
This commit is contained in:
parent
4e8c596967
commit
b531c3af7e
@ -191,15 +191,15 @@ cleanall: clean
|
||||
rm -rf System.Reflection.Metadata.* System.Collections.Immutable.*
|
||||
|
||||
docker-build:
|
||||
sudo docker build --no-cache=false -t image_ps .
|
||||
$(eval INSTANCE_ID := $(shell sudo docker inspect -f '{{.Id}}' image_ps))
|
||||
docker build --no-cache=false -t image_ps .
|
||||
$(eval INSTANCE_ID := $(shell docker inspect -f '{{.Id}}' image_ps))
|
||||
|
||||
docker-run: docker-build
|
||||
sudo docker run -d -P --name test_ps image_ps
|
||||
sudo docker port test_ps 22
|
||||
sudo docker port test_ps 4201
|
||||
docker run -d -P --name test_ps image_ps
|
||||
docker port test_ps 22
|
||||
docker port test_ps 4201
|
||||
|
||||
docker-stop:
|
||||
sudo docker stop test_ps
|
||||
sudo docker rm test_ps
|
||||
docker stop test_ps
|
||||
docker rm test_ps
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user