This repository contains a Dockerfile for building a Docker image of Cisco Packet Tracer 8.2.2.
- Docker installed on your system.
- Cisco Packet Tracer
.debpackage: You must download the official Cisco Packet Tracer.debpackage from the official Cisco Networking Academy website. Due to licensing restrictions, this repository cannot provide the Packet Tracer software.
-
Download Packet Tracer:
- Go to the official Cisco Networking Academy website and download the
.debpackage for your architecture (usually AMD64).
- Go to the official Cisco Networking Academy website and download the
-
Place Files:
- Place the downloaded
Packet_Tracer822_amd64_signed.debfile in the same directory as theDockerfile.
- Place the downloaded
-
Build the Image:
- Open a terminal in the directory containing the
Dockerfile. - Run the following command to build the Docker image:
docker build -t manzolo/cisco-packet-tracer . - Open a terminal in the directory containing the
-
Run the Container:
- After the image is built, run the container with X11 forwarding:
xhost +local:docker docker run -it --rm \ -e DISPLAY=$DISPLAY \ -v ./storage:/home/pt/storage \ -v ./saves:/home/pt/pt/saves \ -v /tmp/.X11-unix:/tmp/.X11-unix \ manzolo/cisco-packet-tracer xhost -local:docker- Alternatively, you can use the provided
menu.shscript for a menu driven experience.
-
Enter Container Shell
- If you used the
menu.shscript, you can enter the running container shell by selecting option 3 from the menu. - If you ran the container manually, you can enter with:
docker exec -it <container_id_or_name> bash
- If you used the
./storage:/home/pt/storage: Persists the Packet Tracer configuration and user data../saves:/home/pt/pt/saves: Persists Packet Tracer simulation files.
- This Dockerfile uses
DEBIAN_FRONTEND=noninteractiveto automate the installation. - The script verifies the sha256 checksum of the deb file before installing.
- X11 forwarding is required to display the Packet Tracer GUI.
- Remember to replace
Packet_Tracer822_amd64_signed.debwith the actual filename of your Packet Tracer package. - This repository does not provide Packet Tracer software due to licensing restrictions.