-
Notifications
You must be signed in to change notification settings - Fork 498
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly mention Docker commands when building template (#586)
This PR improves CLI messaging when building sandbox templates. Now, the used Docker commands are explicitly logged to the user like this: ``` Building docker image with the following command: docker build . \ # <--- This log is new -f e2b.Dockerfile \ --pull --platform linux/amd64 \ -t docker.e2b.dev/e2b/custom-envs/vqwjjtzwfi59d1cwww1k:ec8a819a-9666-45df-997b-e181b9fe4224 [+] Building 0.7s (5/5) FINISHED docker:desktop-linux => [internal] load build definition from e2b.Dockerfile 0.0s => => transferring dockerfile: 149B 0.0s => [internal] load metadata for docker.io/library/ubuntu:22.04 ``` and ``` Pushing docker image with the following command: docker push docker.e2b.dev/e2b/custom-envs/vqwjjtzwfi59d1cwww1k:ec8a819a-9666-45df-997b-e181b9fe4224 # <--- This log is new The push refers to repository [docker.e2b.dev/e2b/custom-envs/vqwjjtzwfi59d1cwww1k] ``` so the user can potentially debug some issues on their own.
- Loading branch information
Showing
2 changed files
with
31 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@e2b/cli': minor | ||
--- | ||
|
||
Explicitly mention Docker commands when building template |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters