Skip to content

Commit

Permalink
Merge pull request #15 from eBPFDevSecTools/dockerization
Browse files Browse the repository at this point in the history
Created Dockerfile for installing annotations search functionality (Issue #1)
  • Loading branch information
palanik1 authored Nov 8, 2023
2 parents 41630ee + be13088 commit e73cebe
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions DOCKERIZATION.md
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 added dockerization.tar.xz
Binary file not shown.

0 comments on commit e73cebe

Please sign in to comment.