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

Docker Symlink not found after installing docker using snap #1326

Open
inteldon opened this issue Sep 6, 2022 · 0 comments
Open

Docker Symlink not found after installing docker using snap #1326

inteldon opened this issue Sep 6, 2022 · 0 comments

Comments

@inteldon
Copy link

inteldon commented Sep 6, 2022

Mup version (mup --version):1.5.9

Mup config

module.exports = {
  servers: {
    one: {
      // TODO: set host address, username, and authentication method
      host: '1.2.3.4',
      username: 'myusername',
      // ... "%sudo ALL=(ALL) NOPASSWD:ALL"
      password: "somepass",
      // pem: './path/to/pem'
      // or neither for authenticate from ssh-agent
    }
  },

  app: {
    // TODO: change app name and path
    name: 'myapp',
    path: '../',

    servers: {
      one: {},
    },

    buildOptions: {
      serverOnly: true,
    },

    env: {
      // TODO: Change to your app's url
      // If you are using ssl, it needs to start with https://
      ROOT_URL: 'https://mywebsite',
      MONGO_URL: 'someurl',
      MONGO_OPLOG_URL: 'someurl',
    },

    docker: {
      image: 'zodern/meteor:root',
    },

    // Show progress bar while uploading bundle to server
    // You might need to disable it on CI servers
    enableUploadProgressBar: true
  },

  //--- Removing this because of the use of an external Mongo URL
  // mongo: {
  //   version: '4.4.12',
  //   servers: {
  //     one: {}
  //   }
  // },

  // (Optional)
  // Use the proxy to setup ssl or to route requests to the correct
  // app when there are several apps

  // proxy: {
  //   domains: 'mywebsite.com,www.mywebsite.com',

  //   ssl: {
  //     // Enable Let's Encrypt
  //     letsEncryptEmail: 'email@domain.com'
  //   }
  // }
};

Output of command

Cleaning Up Previous Builds
Building App Bundle Locally

Started TaskList: Pushing Meteor App
[74.208.30.19] - Pushing Meteor App Bundle to the Server
[74.208.30.19] - Pushing Meteor App Bundle to the Server: SUCCESS

Started TaskList: Prepare App Bundle
[74.208.30.19] - Prepare Bundle
Updating base image
root: Pulling from zodern/meteor
c229119241af: Pulling fs layer
82109f39a838: Pulling fs layer
761e6bdfdcc9: Pulling fs layer
3e7c7c729275: Pulling fs layer
a4de995a276f: Pulling fs layer
b381152adb49: Pulling fs layer
38ace5e5e938: Pulling fs layer
33a6027b9a78: Pulling fs layer
825014427837: Pulling fs layer
ea260ade59d5: Pulling fs layer
953b5e2fdb71: Pulling fs layer
d50963c5b13f: Pulling fs layer
38ace5e5e938: Waiting
33a6027b9a78: Waiting
825014427837: Waiting
ea260ade59d5: Waiting
953b5e2fdb71: Waiting
d50963c5b13f: Waiting
a4de995a276f: Waiting
b381152adb49: Waiting
3e7c7c729275: Waiting
761e6bdfdcc9: Verifying Checksum
761e6bdfdcc9: Download complete
3e7c7c729275: Verifying Checksum
3e7c7c729275: Download complete
a4de995a276f: Download complete
b381152adb49: Verifying Checksum
b381152adb49: Download complete
c229119241af: Verifying Checksum
c229119241af: Download complete
33a6027b9a78: Verifying Checksum
33a6027b9a78: Download complete
825014427837: Download complete
38ace5e5e938: Verifying Checksum
38ace5e5e938: Download complete
ea260ade59d5: Verifying Checksum
ea260ade59d5: Download complete
953b5e2fdb71: Verifying Checksum
953b5e2fdb71: Download complete
c229119241af: Pull complete
d50963c5b13f: Verifying Checksum
d50963c5b13f: Download complete
82109f39a838: Verifying Checksum
82109f39a838: Download complete
82109f39a838: Pull complete
761e6bdfdcc9: Pull complete
3e7c7c729275: Pull complete
a4de995a276f: Pull complete
b381152adb49: Pull complete
38ace5e5e938: Pull complete
33a6027b9a78: Pull complete
825014427837: Pull complete
ea260ade59d5: Pull complete
953b5e2fdb71: Pull complete
d50963c5b13f: Pull complete
Digest: sha256:xyz....somenumbers
Status: Downloaded newer image for zodern/meteor:root
docker.io/zodern/meteor:root
Preparing for docker build
Creating Dockerfile
Finished creating Dockerfile
Building image
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /var/lib/snapd/void/Dockerfile: no such file or directory

real    0m0.103s
user    0m0.059s
sys     0m0.049s

Note that I installed docker using the snapd tool, i.e. "snap install docker", so I'm not sure if there's any setting in mup that I need to tweak to make it look for the files in the right location.

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

No branches or pull requests

1 participant