Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions AmmarDockerAssignment
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
To run my docker image:
1. To search for my repository:
docker search docker_assignment
2. To pull the repository:
docker pull ammaraamir/docker_assignment:firstcommit
***** Make sure that your port is open before running it. *****
3. To run the repository:
docker run -d -p 8888:8888 ammaraamir/docker_assignment:firstcommit
If error occurs, run the following commands:
*. docker ps ---> To check containers.
*. docker stop <Container ID> ---> To stop the container id on which port is running.
4. After running the repository, open your browser and enter the following link:
https://localhost:8888/

Following is the link to my repository on docker hub:
https://hub.docker.com/r/ammaraamir/docker_assignment/
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM ipython/scipyserver

RUN mkdir /docker_assignment
WORKDIR /docker_assignment
RUN mkdir ./cookbook ./data

COPY cookbook/*.ipynb ./cookbook/
COPY data/* ./data/

WORKDIR /docker_assignment/cookbook/