I seem recall that the host name is the same as container name.
Try to print/view the host name while in the conatiner.
You can also configure your .bash_profile to ensure the host name (i.e the
container name in this case) appears on your bash command prompt.
Good luck,
m.



On Thu, May 16, 2013 at 2:08 PM, Vallevand, Mark K <
mark.vallev...@unisys.com> wrote:

> Is there a way to get the container name from inside the container?****
>
> ** **
>
> Regards.
> Mark K Vallevand   mark.vallev...@unisys.com****
>
> May you live in interesting times, may you come to the attention of
> important people and may all your wishes come true.****
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail and
> its attachments from all computers.****
>
> ** **
>
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> Lxc-users mailing list
> Lxc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
>
>
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to