[lxc-users] lxc-users Digest, Vol 54, Issue 5
Thouraya TH
thouraya87 at gmail.com
Tue Dec 23 17:19:03 UTC 2014
root at localhost:/home#
*sudo lxc-checkpoint -s -D /tmp/checkpoint -n u3*
*works without "sudo"*
*Thanks a lot.*
*Bests. *
2014-12-23 13:00 GMT+01:00 <lxc-users-request at lists.linuxcontainers.org>:
> Send lxc-users mailing list submissions to
> lxc-users at lists.linuxcontainers.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.linuxcontainers.org/listinfo/lxc-users
> or, via email, send a message with subject or body 'help' to
> lxc-users-request at lists.linuxcontainers.org
>
> You can reach the person managing the list at
> lxc-users-owner at lists.linuxcontainers.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lxc-users digest..."
>
> Today's Topics:
>
> 1. lxd pull/push (Gnep Zhao)
> 2. Unable to become root (theodore.ivanov at free.fr)
> 3. Re: lxc-checkpoint: command not found (Thouraya TH)
>
>
> ---------- Message transféré ----------
> From: Gnep Zhao <jass.zhao at gmail.com>
> To: lxc-users at lists.linuxcontainers.org
> Cc:
> Date: Fri, 19 Dec 2014 11:40:44 +0800
> Subject: [lxc-users] lxd pull/push
> Hi,
>
> I'm curious whether lxd supports the similar pull/push feature of docker.
>
> Thanks,
>
> --
> =================================================
> *Often wrong, Never in doubt*
> =================================================
>
>
> ---------- Message transféré ----------
> From: theodore.ivanov at free.fr
> To: lxc-users at lists.linuxcontainers.org
> Cc:
> Date: Fri, 19 Dec 2014 14:01:22 +0100
> Subject: [lxc-users] Unable to become root
>
> I would appreciate your help with the following problem, after loggong into
> container worker:
>
> ubuntu at worker:~$ sudo -i
> sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
> ubuntu at worker:~$
>
> I am on Ubuntu 14.04, lxc was installed with sudo apt-get install lxc,
> worker
> created with sudo lxc-create -t ubuntu -n worker, started with sudo
> lxc-start -n
> worker -d and accessed with lxc-console -n worker.
>
> Thank you.
>
> Theodore IVANOV
> Paris
>
>
>
> ---------- Message transféré ----------
> From: Thouraya TH <thouraya87 at gmail.com>
> To: le-grex <post at grex.is-lost.org>, LXC users mailing-list <
> lxc-users at lists.linuxcontainers.org>
> Cc:
> Date: Mon, 22 Dec 2014 21:21:31 +0100
> Subject: Re: [lxc-users] lxc-checkpoint: command not found
> * root at localhost:/home# add-apt-repository ppa:ubuntu-lxc/daily*
> (without sudo it works well)
> Those are daily builds of the master branch of git://github.com/lxc/lxc
> for all supported versions of Ubuntu.
>
> Required or recommended dependencies are also backported from current
> Ubuntu and included in this PPA to provide an identical LXC experience on
> all supported Ubuntu releases.
> More info: https://launchpad.net/~ubuntu-lxc/+archive/ubuntu/daily
> Press [ENTER] to continue or ctrl-c to cancel adding it
>
> gpg: keyring `/tmp/tmp0_ft7rar/secring.gpg' created
> gpg: keyring `/tmp/tmp0_ft7rar/pubring.gpg' created
> gpg: requesting key 7635B973 from hkp server keyserver.ubuntu.com
> gpg: /tmp/tmp0_ft7rar/trustdb.gpg: trustdb created
> gpg: key 7635B973: public key "Launchpad PPA for Ubuntu LXC team" imported
> gpg: Total number processed: 1
> gpg: imported: 1 (RSA: 1)
> OK
>
> *Terminal 1:*
> Container is running.
>
> *Terminal 2: *
> *root at localhost:/home# lxc-info -n u3*
> Name: u3
> State: RUNNING
> PID: 9361
> IP: 10.0.3.10
> CPU use: 1.92 seconds
> BlkIO use: 0 bytes
> Memory use: 8.11 MiB
> Link: vethFN496X
> TX bytes: 3.50 KiB
> RX bytes: 2.25 KiB
> Total bytes: 5.75 KiB
>
> root at localhost:/home#
> *sudo lxc-checkpoint -s -D /tmp/checkpoint -n u3lxc_container:
> lxccontainer.c: exec_criu: 3604 Couldn't find criu binary*
>
> Checkpointing u3 failed.
> root at localhost:/home# criu dump
> Error: pid not specified
> root at localhost:/home#
>
> Have you an idea please ?
> Bests.
>
>
> 2014-12-22 18:07 GMT+01:00 Thouraya TH <thouraya87 at gmail.com>:
>
>> OK.
>> i'm behind a proxy.
>> i have done: *export http_proxy="http://<proxy_host>:<port>"*
>> root at localhost:/home# sudo add-apt-repository ppa:ubuntu-lxc/daily
>> Cannot add PPA: 'ppa:ubuntu-lxc/daily'.
>> Please check that the PPA name or format is correct.
>>
>> i'd like to do:
>> root at localhost:/home# sudo add-apt-repository ppa:ubuntu-lxc/daily
>> *http_proxy=True*
>> Error: need a single repository as argument
>>
>> but it didn't work!
>>
>> Have you an idea please ?
>> Bests
>>
>>
>>
>> 2014-12-22 15:05 GMT+01:00 le-grex <post at grex.is-lost.org>:
>>
>>> Did you read that on the site you mentioned?
>>>
>>> Although this functionality is not in any released version of LXC yet,
>>> you can check out the development version on Ubuntu.
>>>
>>> Am 22.12.2014 um 14:53 schrieb Thouraya TH:
>>> > Hello,
>>> >
>>> > Please, i try to checkpoint a container using this tuto:
>>> http://criu.org/LXC
>>> > but i have this error: *lxc-checkpoint: command not found*
>>> > i have, already, done the checkpoint of a simple process with criu
>>> 1.4..
>>> >
>>> > First terminal:
>>> >
>>> > root at u1:~# ls
>>> > root at u1:~# cd /home/
>>> > root at u1:/home# ls
>>> > test ubuntu
>>> > root at u1:/home# uname -m
>>> > x86_64
>>> > root at u1:/home# uname -a
>>> > Linux u1 3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014
>>> > x86_64 x86_64 x86_64 GNU/Linux
>>> > root at u1:/home#
>>> >
>>> >
>>> > Second terminal:
>>> > root at localhost:/home# criu --version
>>> > *Version: 1.4*
>>> > root at localhost:/home# sudo lxc-checkpoint -s -D /home/lxcImg/ -n u1
>>> > sudo: lxc-checkpoint: command not found
>>> > root at localhost:/home# *criu dump
>>> > Error: pid not specified*
>>> > root at localhost:/home# lxc-checkpoint -s -D /home/lxcImg/ -n u1
>>> > *lxc-checkpoint: command not found*
>>> > root at localhost:/home#
>>> >
>>> >
>>> > Have you an idea please ?
>>> > Thanks a lot.
>>> > Best Regards.
>>> >
>>> >
>>> > _______________________________________________
>>> > lxc-users mailing list
>>> > lxc-users at lists.linuxcontainers.org
>>> > http://lists.linuxcontainers.org/listinfo/lxc-users
>>> >
>>>
>>>
>>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20141223/0628dcd2/attachment.html>
More information about the lxc-users
mailing list