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

local invoke options for users without root Docker access? #6801

Closed
kaitlinchaung opened this issue Mar 9, 2024 · 4 comments
Closed

local invoke options for users without root Docker access? #6801

kaitlinchaung opened this issue Mar 9, 2024 · 4 comments
Labels
area/docker blocked/close-if-inactive Blocked for >14 days with no response, will be closed if still inactive after 7 days

Comments

@kaitlinchaung
Copy link

Description:

I am working on a server where I only have sudo access to Docker. When I try to use sam local invoke, I get an error message.

Observed result:

Error: Running AWS SAM projects locally requires Docker. Have you got it installed and running?

Steps to reproduce:

I was trying to locally invoke the Python3.12 HelloWorld example.

Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

  1. OS: linux-gnu
  2. sam --version: SAM CLI, version 1.111.0
  3. AWS region: us-east-1
$ sam --info
{
  "version": "1.111.0",
  "system": {
    "python": "3.11.3",
    "os": "Linux-6.5.0-1014-aws-x86_64-with-glibc2.35"
  },
  "additional_dependencies": {
    "docker_engine": "Not available",
    "aws_cdk": "Not available",
    "terraform": "Not available"
  },
  "available_beta_feature_env_vars": [
    "SAM_CLI_BETA_FEATURES",
    "SAM_CLI_BETA_BUILD_PERFORMANCE",
    "SAM_CLI_BETA_TERRAFORM_SUPPORT",
    "SAM_CLI_BETA_RUST_CARGO_LAMBDA"
  ]
}
@kaitlinchaung kaitlinchaung added the stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. label Mar 9, 2024
@sidhujus
Copy link
Contributor

Hi thanks for reporting this issue! Could you try following the steps from the discussion here and see if that fixes the issue for you? #5059

@sidhujus sidhujus added blocked/more-info-needed More info is needed from the requester. If no response in 14 days, it will become stale. area/docker and removed stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. labels Mar 13, 2024
@hnnasit
Copy link
Contributor

hnnasit commented Apr 17, 2024

Hi @kaitlinchaung, does @sidhujus' suggestion help resolve the issue?

@hnnasit hnnasit added blocked/close-if-inactive Blocked for >14 days with no response, will be closed if still inactive after 7 days and removed blocked/more-info-needed More info is needed from the requester. If no response in 14 days, it will become stale. labels Apr 17, 2024
@mildaniel
Copy link
Contributor

Closing due to inactivity.

Copy link
Contributor

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docker blocked/close-if-inactive Blocked for >14 days with no response, will be closed if still inactive after 7 days
Projects
None yet
Development

No branches or pull requests

4 participants