Skip to content

Fix fig build logging - #3

Merged
bfirsh merged 2 commits into
docker:masterfrom
tomstuart:fix-fig-build-logging
Jan 2, 2014
Merged

bfirsh merged 2 commits into
docker:masterfrom
tomstuart:fix-fig-build-logging

Conversation

@tomstuart

Copy link
Copy Markdown

The logger wasn't available, and the log message was unfinished.

bfirsh added a commit that referenced this pull request Jan 2, 2014
@bfirsh
bfirsh merged commit 9ede185 into docker:master Jan 2, 2014
@bfirsh

bfirsh commented Jan 2, 2014

Copy link
Copy Markdown

Bollocks, thank you. I should write a test or something.

@tomstuart

Copy link
Copy Markdown
Author

FWIW, fig build didn't seem to do everything I needed: I'd cocked up my fig.yml or my Dockerfile or something (exposed the wrong port), but even after fixing the file and running fig build, the problem persisted and I had to fig rm the containers and start again. (I guess this is what #2 is about.)

I have no idea what I'm doing.

@bfirsh

bfirsh commented Jan 2, 2014

Copy link
Copy Markdown

Yeah it's #2. So basically fig doesn't remove containers unless you explicitly ask it to, because they might have something you care about on them. But then when you run fig up, it starts any containers that have been stopped because that probably what you normally want to do.

What we should probably do is fig up should do something clever if it looks like you've changed something ("hey! looks like you've done something, shall I rebuild the image and recreate the containers for you?"). We'll have a think about that tomorrow.

@tomstuart

Copy link
Copy Markdown
Author

The current conservative behaviour seems sensible, but yeah, even a friendly warning would've helped me to understand where the problem might be.

@bfirsh

bfirsh commented Jan 2, 2014

Copy link
Copy Markdown

It's complicated balance with speed as well – ideally we'd rebuild your images every time, but Docker doesn't cache the right things to let us do that yet. Should be in 0.7.3 though, so by then we shouldn't have to do this.

@tomstuart
tomstuart deleted the fix-fig-build-logging branch January 3, 2014 10:58
yuval-k pushed a commit to yuval-k/compose that referenced this pull request Apr 10, 2015
Fix `fig build` logging
Signed-off-by: Yuval Kohavi <[email protected]>
glours pushed a commit that referenced this pull request Jun 15, 2026
golang.org/x/crypto v0.52.0 has various fixes for vulnerabilities.
These do NOT impact docker compose, but may show up in vulnerability
scanners;

    govulncheck --version
    Go: go1.26.4
    Scanner: [email protected]
    DB: https://vuln.go.dev
    DB updated: 2026-06-02 21:39:47 +0000 UTC

    govulncheck -show verbose ./...
    Fetching vulnerabilities from the database...

    Checking the code against the vulnerabilities...

    === Package Results ===

    Vulnerability #1: GO-2026-5023
        Invoking VerifiedPublicKeyCallback permissions skip enforcement in
        golang.org/x/crypto/ssh
      More info: https://pkg.go.dev/vuln/GO-2026-5023
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Vulnerability #2: GO-2026-5020
        Invoking infinite loop on large channel writes in golang.org/x/crypto/ssh
      More info: https://pkg.go.dev/vuln/GO-2026-5020
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Vulnerability #3: GO-2026-5019
        Invoking bypass of FIDO/U2F security keys physical interaction in
        golang.org/x/crypto/ssh
      More info: https://pkg.go.dev/vuln/GO-2026-5019
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Vulnerability #4: GO-2026-5018
        Invoking pathological RSA/DSA parameters may cause DoS in
        golang.org/x/crypto/ssh
      More info: https://pkg.go.dev/vuln/GO-2026-5018
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Vulnerability #5: GO-2026-5017
        Invoking client can cause server deadlock on unexpected responses in
        golang.org/x/crypto/ssh
      More info: https://pkg.go.dev/vuln/GO-2026-5017
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Vulnerability #6: GO-2026-5016
        Invoking memory leak when rejecting channels can lead to DoS in
        golang.org/x/crypto/ssh
      More info: https://pkg.go.dev/vuln/GO-2026-5016
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Vulnerability #7: GO-2026-5015
        Invoking server panic during CheckHostKey/Authenticate in
        golang.org/x/crypto/ssh
      More info: https://pkg.go.dev/vuln/GO-2026-5015
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Vulnerability #8: GO-2026-5014
        Invoking bypass of certificate restrictions in golang.org/x/crypto/ssh
      More info: https://pkg.go.dev/vuln/GO-2026-5014
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Vulnerability #9: GO-2026-5013
        Invoking byte arithmetic causes underflow and panic in

        golang.org/x/crypto/ssh
      More info: https://pkg.go.dev/vuln/GO-2026-5013
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    === Module Results ===

    Vulnerability #1: GO-2026-5033
        Invoking pathological inputs can lead to client panic in
        golang.org/x/crypto/ssh/agent
      More info: https://pkg.go.dev/vuln/GO-2026-5033
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Vulnerability #2: GO-2026-5021
        Invoking auth bypass via unenforced @Revoked status in
        golang.org/x/crypto/ssh/knownhosts
      More info: https://pkg.go.dev/vuln/GO-2026-5021
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Vulnerability #3: GO-2026-5006
        Invoking agent constraints dropped when forwarding keys in
        golang.org/x/crypto/ssh/agent
      More info: https://pkg.go.dev/vuln/GO-2026-5006
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Vulnerability #4: GO-2026-5005
        Invoking key constraints not enforced in golang.org/x/crypto/ssh/agent
      More info: https://pkg.go.dev/vuln/GO-2026-5005
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]

    Your code is affected by 2 vulnerabilities from 1 module.
    This scan also found 9 vulnerabilities in packages you import and 4
    vulnerabilities in modules you require, but your code doesn't appear to call
    these vulnerabilities.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
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.

2 participants