|  | @@ -19,6 +19,7 @@ package api
 | 
	
		
			
				|  |  |  import (
 | 
	
		
			
				|  |  |  	"bytes"
 | 
	
		
			
				|  |  |  	"context"
 | 
	
		
			
				|  |  | +	"crypto/rand"
 | 
	
		
			
				|  |  |  	"encoding/json"
 | 
	
		
			
				|  |  |  	"fmt"
 | 
	
		
			
				|  |  |  	"io"
 | 
	
	
		
			
				|  | @@ -31,8 +32,6 @@ import (
 | 
	
		
			
				|  |  |  	"github.com/docker/buildx/builder"
 | 
	
		
			
				|  |  |  	"github.com/docker/buildx/util/imagetools"
 | 
	
		
			
				|  |  |  	"github.com/docker/cli/cli/command"
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -	"github.com/distribution/distribution/v3/uuid"
 | 
	
		
			
				|  |  |  	moby "github.com/docker/docker/api/types"
 | 
	
		
			
				|  |  |  	containerType "github.com/docker/docker/api/types/container"
 | 
	
		
			
				|  |  |  	"github.com/docker/docker/api/types/events"
 | 
	
	
		
			
				|  | @@ -298,7 +297,9 @@ func (d *DryRunClient) VolumeRemove(ctx context.Context, volumeID string, force
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  func (d *DryRunClient) ContainerExecCreate(ctx context.Context, container string, config moby.ExecConfig) (moby.IDResponse, error) {
 | 
	
		
			
				|  |  | -	id := uuid.Generate().String()
 | 
	
		
			
				|  |  | +	b := make([]byte, 32)
 | 
	
		
			
				|  |  | +	_, _ = rand.Read(b)
 | 
	
		
			
				|  |  | +	id := fmt.Sprintf("%x", b)
 | 
	
		
			
				|  |  |  	d.execs.Store(id, execDetails{
 | 
	
		
			
				|  |  |  		container: container,
 | 
	
		
			
				|  |  |  		command:   config.Cmd,
 |