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

Fix sed: unmatched '@' #674

Merged
merged 2 commits into from
Sep 29, 2021
Merged

Fix sed: unmatched '@' #674

merged 2 commits into from
Sep 29, 2021

Conversation

LatentLag
Copy link
Contributor

When a container is restarted docker port reports multiple ports which yields the error sed: unmatched '@' because there's a newline in the sed result. This change picks the first port, which removes the first line.

When restarting a container `docker port` reports more than one port. Pick the first port and complete startup. The unmatched '@' is from a newline at the end of the string.
@KielD-01
Copy link

@wurstmeister any chance to have this merged?

@wurstmeister wurstmeister merged commit f5f2eaa into wurstmeister:master Sep 29, 2021
@wurstmeister
Copy link
Owner

Thank you!

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 this pull request may close these issues.

3 participants