Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
SDRan-OpenAirInterface
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ReginaLAB
SDRan-OpenAirInterface
Commits
66ad3303
Commit
66ad3303
authored
2 years ago
by
Your Name
Browse files
Options
Downloads
Patches
Plain Diff
Add stop and remove for all images and containers
parent
d8d418b6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openairinterface5g/openairinterface-install-scripts/oai_5g_core_install.sh
+5
-1
5 additions, 1 deletion
...g/openairinterface-install-scripts/oai_5g_core_install.sh
with
5 additions
and
1 deletion
openairinterface5g/openairinterface-install-scripts/oai_5g_core_install.sh
+
5
−
1
View file @
66ad3303
...
@@ -33,6 +33,10 @@ sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
...
@@ -33,6 +33,10 @@ sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
sudo
curl
-L
https://github.com/docker/compose/releases/download/1.29.2/docker-compose-
`
uname
-s
`
-
`
uname
-m
`
-o
/usr/local/bin/docker-compose
sudo
curl
-L
https://github.com/docker/compose/releases/download/1.29.2/docker-compose-
`
uname
-s
`
-
`
uname
-m
`
-o
/usr/local/bin/docker-compose
sudo chmod
+x /usr/local/bin/docker-compose
sudo chmod
+x /usr/local/bin/docker-compose
## Stop and Remove all containers and images
sudo
docker stop
$(
sudo
docker ps
-a
-q
)
sudo
docker
rm
$(
sudo
docker ps
-a
-q
)
sudo
docker rmi
$(
sudo
docker images
-a
-q
)
## Pulling the images from Docker Hub
## Pulling the images from Docker Hub
sudo
docker pull oaisoftwarealliance/oai-amf:v1.5.0
sudo
docker pull oaisoftwarealliance/oai-amf:v1.5.0
...
@@ -76,7 +80,7 @@ git submodule deinit --all --force
...
@@ -76,7 +80,7 @@ git submodule deinit --all --force
git submodule init
git submodule init
git submodule update
git submodule update
## Creat
ing
the bridge 5GC
## Creat
e
the bridge 5GC
sudo
docker network create
--driver
=
bridge
--subnet
=
192.168.70.128/26
-o
"com.docker.network.bridge.name"
=
"demo-oai"
demo-oai-public-net
sudo
docker network create
--driver
=
bridge
--subnet
=
192.168.70.128/26
-o
"com.docker.network.bridge.name"
=
"demo-oai"
demo-oai-public-net
## Deploy the 5GC
## Deploy the 5GC
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment