nerdctl compose does not support ~ or $HOME in volumes
              
              #839
            
            
          -
| The two docker compose files below do not work:     ...
    volumes:
      - "/tmp/lima/test/.data/localstack:/tmp/localstack"
      - $HOME/.lima/test/sock/docker.sock:/var/run/docker.sock"    ...
    volumes:
      - "/tmp/lima/test/.data/localstack:/tmp/localstack"
      - ~/.lima/test/sock/docker.sock:/var/run/docker.sock"Only full path is allowed:     ...
    volumes:
      - "/tmp/lima/test/.data/localstack:/tmp/localstack"
      - /Users/me/.lima/test/sock/docker.sock:/var/run/docker.sock" | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            AkihiroSuda
          
      
      
        Feb 24, 2022 
      
    
    Replies: 1 comment 2 replies
-
| Expected behavior, because the env var is resolved inside the Lima guest ( | 
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
      Answer selected by
        AkihiroSuda
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Expected behavior, because the env var is resolved inside the Lima guest (
$HOME=/home/me.linux), not in the Lima host ($HOME=/Users/me)