Skip to content

Updates to Agoric Getting started for Mac #1161

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

Closed
aj-agoric opened this issue Jul 25, 2024 · 4 comments
Closed

Updates to Agoric Getting started for Mac #1161

aj-agoric opened this issue Jul 25, 2024 · 4 comments
Assignees

Comments

@aj-agoric
Copy link
Contributor

aj-agoric commented Jul 25, 2024

What is the Problem Being Solved?

Original Incidents:

Running the getting started tutorial for Mac I ran into two issues. The first is easy to get past and the second has me stuck. Im sure its user error, but figured I would put it here in case its something we could/should update.

Installing Docker

  • docs say run "brew cask install docker”
  • Returns Error: brew cask is no longer a brew command. Use brew <command> --cask instead.
  • Reran with “brew install docker --cask” and works fine

Adding User Account to Docker Group

  • docs say run % sudo usermod -aG docker $USER
  • Returns error “sudo: usermod: command not found”
  • further steps do not run, not sure how to get past this

After this pull request #1160 I follow these steps in the new guide and get the below. Docker is already installed per the message, but when I run hello world, I get this error.

ajrumph@AJs-MacBook-Pro ~ % brew install docker --cask
Warning: Not upgrading docker, the latest version is already installed
ajrumph@AJs-MacBook-Pro ~ % docker run hello-world
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.


ajrumph@AJs-MacBook-Pro ~ % brew install docker --cask
Warning: Not upgrading docker, the latest version is already installed
ajrumph@AJs-MacBook-Pro ~ % docker run hello-world
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.

Description of the Design

Security Considerations

Scaling Considerations

Test Plan

Upgrade Considerations

Does not require an a chain stopping upgrade

@dckc dckc transferred this issue from Agoric/agoric-sdk Jul 25, 2024
@dckc dckc assigned 0xpatrickdev and Jovonni and unassigned 0xpatrickdev Jul 25, 2024
@Jovonni
Copy link
Contributor

Jovonni commented Jul 25, 2024

@aj-agoric
thats just saying to make sure your docker daemon is actually running:
docker with brew

Using Docker Desktop may help you here, as it has a UI to help learn your way around as well:
install docker desktop

@0xpatrickdev
Copy link
Contributor

0xpatrickdev commented Jul 25, 2024

Tangential, I wonder if we should push more towards towards the docker website versus brew --cask.

For the Mac CLI instructions, it seems we also need to include:

open -a Docker

after the brew command to actually open/start docker in the background.

@aj-agoric would you mind trying this? I'm not sure it will be enough - Docker Desktop might present some add'l prompts to first time users. If you've already gotten past this part, I can set a new user on my computer to simulate a first time install.

@aj-agoric
Copy link
Contributor Author

Hey guys, yes I tried the open -a Docker.. this launched a UI on my desktop that required me to fill out a few answers, accept terms, accept cookies, fill out a profile info... then it completed... I think this could close this issue, but yes we likely should add the "open -a Docker" to the flow before "docker hello world"

@aj-agoric
Copy link
Contributor Author

can close this as the core issue works with above steps

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

Successfully merging a pull request may close this issue.

3 participants