Skip to content
This repository was archived by the owner on Mar 11, 2020. It is now read-only.
This repository was archived by the owner on Mar 11, 2020. It is now read-only.

wskdebug fails if action name includes chars not allowed in docker container names such as @ #16

Description

@alexkli

Steps to reproduce

  1. create action named wskdebug-examples/[email protected]
  2. run wskdebug for it:
    wskdebug wskdebug-examples/[email protected]
    

Error

wskdebug fails with Invalid container name ([email protected]).

Starting debugger for /aklimets/wskdebug-examples/[email protected]
docker: Error response from daemon: Invalid container name ([email protected]), only [a-zA-Z0-9][a-zA-Z0-9_.-] are allowed.
See 'docker run --help'.
Error: Command failed: docker run -d --name [email protected] --rm -m 268435456 -p 8080 -p 9229:9229 adobeapiplatform/adobe-action-nodejs-v10:3.0.21 node --expose-gc --inspect=0.0.0.0:9229 app.js 
docker: Error response from daemon: Invalid container name ([email protected]), only [a-zA-Z0-9][a-zA-Z0-9_.-] are allowed.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions