On your host system, which is probably Windows or a Viewing the "Ubuntu Container" Page from the Host Using the mouse, at the top left of the Kali Viewing the "Ubuntu Container" Page Locally This Ubuntu image doesn't have Apache installedĮcho "Ubuntu Container on Kali - YOURNAME" > /var/www/html/index.html Installing Apache in the Ubuntu Container You should see replies, with an amazingly YOU MUST SUBMIT AN IMAGE OF THE WHOLE DESKTOP TO GET FULL CREDIT! Restarting the Containerįind the new IP address of your container,Ĭontainer and return to Kali, but withoutĪddress with the correct address of your container: Use your real name, not the literal text "Your Name". Save the image with the filename " Your Name Proj 13a". That will copy the whole desktop to the clipboard. Output of the "docker ps -a" command shows Name of your container instead of "insane_meitner",ĭocker rename insane_meitner ubuntu-YOURNAME To learn how to do that, execute this command:Īt the end of the output, it tells us howĮxecute these commands, using the correct We want to change the name of the container. I did it, my container was named "insane_meitner", Which is why it's not answering the pings.Ĭurrently it has a randomly generated name-when The first command lists running containers, There are no replies from the Docker container,Īt the Kali prompt, execute these commands: Replacing the IP address with the IP address The "exit" command leaves the Ubuntu containerĪt the Kali prompt, execute this command:Īt the Kali prompt, execute this command, Make a note of your container's IP address. Image and runs it, showing a bash command-line.Īddress starting with 172, as shown below. This creates a "Container" from the Ubuntu While waiting for the download, take a look Using it on 32-bit systems is not supported, They avoid making unnecessary extra copies of Virtual machines, but are far smaller andįaster than complete virtual machines because To learn the basics of Docker-an exciting new Proj 13: Intro to Docker (15 pts.) Proj 13: Intro to Docker (15 pts.) What you need
0 Comments
Leave a Reply. |