-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from eBPFDevSecTools/dockerization
Created Dockerfile for installing annotations search functionality (Issue #1)
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Steps for Docker Initialization | ||
|
||
- First clone the repo containing the DockerFile. | ||
|
||
`git clone https://github.com/eBPFDevSecTools/annotations-tools.git` | ||
|
||
- Find the folder named "dockerization.tar.xz" and extract using the following command. | ||
|
||
`tar -xf dockerization.tar.xz` | ||
|
||
- Ensure that there is a DockerFile and a docker-compose.yml file in the extracted folder. There will be two shell scripts namely "setup.sh" and "clean.sh". | ||
|
||
`chmod +x setup.sh` | ||
|
||
- Execute the setup.sh script to initialize the elasticsearch and kibana containers and to build the required Ubuntu image. | ||
|
||
`./setup.sh` | ||
|
||
- Ensure that the docker image named "ibm/ubuntu" is present in the list of docker images. Run the following command. | ||
|
||
`sudo docker images -a` | ||
|
||
- Run the Ubuntu container by executing the following command. | ||
|
||
`sudo docker run -it --privileged --network host ibm/ubuntu:latest` | ||
|
Binary file not shown.