Project Atomic – Cockpit doesnt install through Vagrant

I use vagrant to install Atomic and i’d like to install Cockpit through my vagrantfile.
Manually I use sudo atomic install fedora/cockpitws and I get no problems.

When I try to insert this in my vagrantfile I get this error: cannot enable tty mode on non tty input
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

  • Certificate issue when using artifactory as docker registry
  • Why doesn't “pip install” work with Flask and gevent inside a debian docker container?
  • MongoDb docker hangs after some requests
  • Docker automated build results in Unexpected failure
  • Does data needs to have a specific format to upload it in Docker?
  • Understanding “VOLUME” instruction in DockerFile
  • The only sentence I add in my vagrantfile is : config.vm.provision :shell, inline: "sudo atomic install fedora/cockpitws"

    Am I doing something wrong? Thanks in advance

  • Docker shared volume creation
  • docker-compose with multiple databases
  • zeppelin can't communicate with Cassandra (docker, windows 10 host)
  • docker commit apache container to image brings trouble
  • Cloning a Oracle Database Schema
  • What information is kept by a non-running docker container?
  • One Solution collect form web for “Project Atomic – Cockpit doesnt install through Vagrant”

    you can try running as

    config.vm.provision :shell, privileged: false, inline: "sudo atomic install fedora/cockpitws"
    

    so it will ssh with your vagrant user and run the command so tty should be ok. when you omit privileged: false it ssh with your root user

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.