Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck when running within Docker Desktop Desktop for Mac #16

Open
James4Ever0 opened this issue Jun 3, 2024 · 0 comments
Open

Stuck when running within Docker Desktop Desktop for Mac #16

James4Ever0 opened this issue Jun 3, 2024 · 0 comments

Comments

@James4Ever0
Copy link

Steps to reproduce

How'd you do it?

  1. Install and run Docker app for macOS
  2. Run the image by docker run --rm -it parrotsec/security
  3. Run the command msfconsole and get stuck

Expected behavior

Shall invoke the console.

Current behavior

Get stuck forever.

Versions

Docker version

Docker version 26.1.1, build 4cf5afa

macOS version

Version 12.5 (Apple M1)

Parrot OS version

Distributor ID: Parrot
Description: Parrot OS 5.3 (Electro Ara)
Release: 5.3
Codename: ara

Metasploit version

Framework: 6.3.27-dev
Console : 6.3.27-dev

Additional Information

If I change to the directory /usr/share/metasploit-framework first then run ./msfconsole it will not get stuck, and subsequent msfconsole invocations from anywhere will not get stuck.

One can mitigate this issue by:

# do not run in root directory '/'
docker run --rm -it -w /root parrotsec/security
msfconsole
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant