Problem with editing file on container

Andrew Wilkins andrew.wilkins at
Mon Dec 11 00:54:46 UTC 2017

On Sun, Dec 10, 2017 at 3:00 AM Naas Si Ahmed < at>

> Hi,
> I'm trying to modify a file using the command vi or nano to edit a file on
> a juju container, but I'm receiving an error such : terminal unknown.

In recent versions of Juju, "juju run" does not offer the ability to run
interactive commands.

Is there any way that I can use to edit a file graphically from another
> juju container ?

You can use "juju ssh" to SSH to the machine: "juju ssh 8 vi

The juju command I used is :
> Juju run "vi /etc/conf.rules" --machine =8
> Thank you,
> Ahmed.
> --
> Juju mailing list
> Juju at
> Modify settings or unsubscribe at:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Juju mailing list